Skip to content

fix #413

fix #413 #264

GitHub Actions / Clippy Output succeeded Jul 23, 2024 in 0s

Clippy Output

1 warning

Details

Results

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

Versions

  • rustc 1.79.0 (129f3b996 2024-06-10)
  • cargo 1.79.0 (ffa9cf99a 2024-06-03)
  • clippy 0.1.79 (129f3b9 2024-06-10)

Annotations

Check warning on line 16 in crates/sourcepawn-studio/src/diagnostics.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

fields `remap_prefix`, `warnings_as_info`, `warnings_as_hint`, and `check_ignore` are never read

warning: fields `remap_prefix`, `warnings_as_info`, `warnings_as_hint`, and `check_ignore` are never read
  --> crates/sourcepawn-studio/src/diagnostics.rs:16:9
   |
15 | pub struct DiagnosticsMapConfig {
   |            -------------------- fields in this struct
16 |     pub remap_prefix: FxHashMap<String, String>,
   |         ^^^^^^^^^^^^
17 |     pub warnings_as_info: Vec<String>,
   |         ^^^^^^^^^^^^^^^^
18 |     pub warnings_as_hint: Vec<String>,
   |         ^^^^^^^^^^^^^^^^
19 |     pub check_ignore: FxHashSet<String>,
   |         ^^^^^^^^^^^^
   |
   = note: `DiagnosticsMapConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
   = note: `#[warn(dead_code)]` on by default