Skip to content

Tower

Tower #289

GitHub Actions / clippy failed Aug 20, 2023 in 0s

clippy

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.71.1 (eb26296b5 2023-08-03)
  • cargo 1.71.1 (7f1d04c00 2023-07-29)
  • clippy 0.1.71 (eb26296 2023-08-03)

Annotations

Check failure on line 3 in hitbox/src/policy.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

fields `ttl` and `stale_cache` are never read

error: fields `ttl` and `stale_cache` are never read
 --> hitbox/src/policy.rs:3:5
  |
2 | pub struct EnabledCacheConfig {
  |            ------------------ fields in this struct
3 |     ttl: Option<u32>,
  |     ^^^
4 |     stale_cache: Option<u32>,
  |     ^^^^^^^^^^^
  |
  = note: `EnabledCacheConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
  = note: `-D dead-code` implied by `-D warnings`