GitHub Actions / clippy
succeeded
Apr 16, 2024 in 0s
clippy
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.79.0-nightly (ccfcd950b 2024-04-15)
- cargo 1.79.0-nightly (48eca1b16 2024-04-12)
- clippy 0.1.79 (ccfcd95 2024-04-15)
Annotations
Check warning on line 15 in tests/no_type_leakage.rs
github-actions / clippy
field `0` is never read
warning: field `0` is never read
--> tests/no_type_leakage.rs:15:16
|
15 | pub struct Bar(Foo);
| --- ^^^
| |
| field in this struct
|
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
15 | pub struct Bar(());
| ~~
Loading