fix crashing on 2.16 #103
GitHub Actions / clippy
succeeded
Sep 19, 2024 in 0s
clippy
4 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 4 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.82.0-beta.3 (4976ae480 2024-09-09)
- cargo 1.82.0-beta.3 (8f40fc59f 2024-08-21)
- clippy 0.1.82 (4976ae4 2024-09-09)
Annotations
Check warning on line 35 in arma-rs/src/flags.rs
github-actions / clippy
associated function `from_bits` is never used
warning: associated function `from_bits` is never used
--> arma-rs/src/flags.rs:35:12
|
18 | impl FeatureFlags {
| ----------------- associated function in this implementation
...
35 | pub fn from_bits(bits: u64) -> Self {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
Check warning on line 342 in arma-rs/src/lib.rs
github-actions / clippy
variable does not need to be mutable
warning: variable does not need to be mutable
--> arma-rs/src/lib.rs:342:13
|
342 | let mut pre218 = false;
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
Check warning on line 69 in arma-rs-proc/src/derive/data.rs
github-actions / clippy
field `ty` is never read
warning: field `ty` is never read
--> arma-rs-proc/src/derive/data.rs:69:9
|
65 | pub struct FieldNamed {
| ---------- field in this struct
...
69 | pub ty: syn::Type,
| ^^
|
= note: `#[warn(dead_code)]` on by default
Check warning on line 69 in arma-rs-proc/src/derive/data.rs
github-actions / clippy
field `ty` is never read
warning: field `ty` is never read
--> arma-rs-proc/src/derive/data.rs:69:9
|
65 | pub struct FieldNamed {
| ---------- field in this struct
...
69 | pub ty: syn::Type,
| ^^
|
= note: `#[warn(dead_code)]` on by default
Loading