GitHub Actions / clippy
failed
May 29, 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.74.1 (a28077b28 2023-12-04)
- cargo 1.74.1 (ecb9851af 2023-10-18)
- clippy 0.1.74 (a28077b 2023-12-04)
Annotations
Check failure on line 1265 in massa-db-worker/src/massa_db.rs
github-actions / clippy
casting to the same type is unnecessary (`u64` -> `u64`)
error: casting to the same type is unnecessary (`u64` -> `u64`)
--> massa-db-worker/src/massa_db.rs:1265:34
|
1265 | let slot = Slot::new(i as u64, 0);
| ^^^^^^^^ help: try: `i`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
Check failure on line 1246 in massa-db-worker/src/massa_db.rs
github-actions / clippy
casting to the same type is unnecessary (`u64` -> `u64`)
error: casting to the same type is unnecessary (`u64` -> `u64`)
--> massa-db-worker/src/massa_db.rs:1246:34
|
1246 | let slot = Slot::new(i as u64, 0);
| ^^^^^^^^ help: try: `i`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `-D clippy::unnecessary-cast` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_cast)]`
Loading