Skip to content

Config - Warn on CfgMagazineWells not found in CfgMagazines #313

Config - Warn on CfgMagazineWells not found in CfgMagazines

Config - Warn on CfgMagazineWells not found in CfgMagazines #313

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / beta succeeded Oct 14, 2023 in 0s

beta

1 warning

Details

Results

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

Versions

  • rustc 1.74.0-beta.1 (b5c050feb 2023-10-03)
  • cargo 1.74.0-beta.1 (59596f0f3 2023-09-29)
  • clippy 0.1.74 (b5c050f 2023-10-03)

Annotations

Check warning on line 25 in libs/common/src/reporting/processed.rs

See this annotation in the file changed.

@github-actions github-actions / beta

fields `declarations` and `usage` are never read

warning: fields `declarations` and `usage` are never read
  --> libs/common/src/reporting/processed.rs:25:5
   |
13 | pub struct Processed {
   |            --------- fields in this struct
...
25 |     declarations: HashMap<Position, Position>,
   |     ^^^^^^^^^^^^
...
29 |     usage: HashMap<Position, Vec<Position>>,
   |     ^^^^^
   |
   = note: `Processed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
   = note: `#[warn(dead_code)]` on by default