lazy #100
GitHub Actions / clippy
succeeded
Sep 18, 2024 in 1s
clippy
4 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 4 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.81.0 (eeb90cda1 2024-09-04)
- cargo 1.81.0 (2dbb1af80 2024-08-20)
- clippy 0.1.81 (eeb90cd 2024-09-04)
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
unused variable: `function_name`
warning: unused variable: `function_name`
--> arma-rs/src/lib.rs:342:13
|
342 | let function_name =
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_name`
|
= note: `#[warn(unused_variables)]` 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