chore: Configure Renovate #10
Open
GitHub Actions / clippy
succeeded
Dec 15, 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.83.0 (90b35a623 2024-11-26)
- cargo 1.83.0 (5ffbef321 2024-10-29)
- clippy 0.1.83 (90b35a6 2024-11-26)
Annotations
Check warning on line 55 in nanostorm/src/main.rs
github-actions / clippy
the borrowed expression implements the required traits
warning: the borrowed expression implements the required traits
--> nanostorm/src/main.rs:55:37
|
55 | let mut jdt_file = File::create(&cli.output.with_extension("jdt"))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `cli.output.with_extension("jdt")`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
Check warning on line 5 in stub/src/main.rs
github-actions / clippy
unused import: `Decode`
warning: unused import: `Decode`
--> stub/src/main.rs:5:5
|
5 | Decode,
| ^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Check warning on line 89 in stub/src/backends/linux.rs
github-actions / clippy
unused `std::result::Result` that must be used
warning: unused `std::result::Result` that must be used
--> stub/src/backends/linux.rs:89:5
|
89 | write(fd, bin);
| ^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` on by default
help: use `let _ = ...` to ignore the resulting value
|
89 | let _ = write(fd, bin);
| +++++++
Check warning on line 43 in libnanomite/src/encrypted_object.rs
github-actions / clippy
this returns a `Result<_, ()>`
warning: this returns a `Result<_, ()>`
--> libnanomite/src/encrypted_object.rs:43:5
|
43 | pub fn decode<T: Decode>(self) -> Result<T, ()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
= note: `#[warn(clippy::result_unit_err)]` on by default
Loading