chore: Store progress, fix minor issues #392
GitHub Actions / clippy
failed
May 16, 2024 in 0s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.80.0-nightly (1871252fc 2024-05-15)
- cargo 1.80.0-nightly (4de0094ac 2024-05-09)
- clippy 0.1.80 (1871252 2024-05-15)
Annotations
Check failure on line 24 in src/build.rs
github-actions / clippy
the borrowed expression implements the required traits
error: the borrowed expression implements the required traits
--> src/build.rs:24:15
|
24 | fs::write(&dest_path, contents).unwrap();
| ^^^^^^^^^^ help: change this to: `dest_path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
Check failure on line 14 in src/build.rs
github-actions / clippy
the borrowed expression implements the required traits
error: the borrowed expression implements the required traits
--> src/build.rs:14:15
|
14 | .args(&["rev-parse", "HEAD"])
| ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["rev-parse", "HEAD"]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `-D clippy::needless-borrows-for-generic-args` implied by `-D clippy::all`
= help: to override `-D clippy::all` add `#[allow(clippy::needless_borrows_for_generic_args)]`
Loading