Fix panics on failed initialization #369
clippy
6 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 6 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.75.0 (82e1608df 2023-12-21)
- cargo 1.75.0 (1d8b05cdd 2023-11-20)
- clippy 0.1.75 (82e1608 2023-12-21)
Annotations
Check failure on line 106 in pkcs11/src/api/mod.rs
github-actions / clippy
useless conversion to the same type: `u64`
error: useless conversion to the same type: `u64`
--> pkcs11/src/api/mod.rs:106:21
|
106 | Err(err) => err.into(),
| ^^^^^^^^^^ help: consider removing `.into()`: `err`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
Check failure on line 410 in pkcs11/src/api/token.rs
github-actions / clippy
useless conversion to the same type: `u64`
error: useless conversion to the same type: `u64`
--> pkcs11/src/api/token.rs:410:36
|
410 | Err(err) => return err.into(),
| ^^^^^^^^^^ help: consider removing `.into()`: `err`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
Check failure on line 379 in pkcs11/src/api/token.rs
github-actions / clippy
useless conversion to the same type: `u64`
error: useless conversion to the same type: `u64`
--> pkcs11/src/api/token.rs:379:28
|
379 | Err(err) => return err.into(),
| ^^^^^^^^^^ help: consider removing `.into()`: `err`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `-D clippy::useless-conversion` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_conversion)]`
Check failure on line 106 in pkcs11/src/api/mod.rs
github-actions / clippy
useless conversion to the same type: `u64`
error: useless conversion to the same type: `u64`
--> pkcs11/src/api/mod.rs:106:21
|
106 | Err(err) => err.into(),
| ^^^^^^^^^^ help: consider removing `.into()`: `err`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
Check failure on line 410 in pkcs11/src/api/token.rs
github-actions / clippy
useless conversion to the same type: `u64`
error: useless conversion to the same type: `u64`
--> pkcs11/src/api/token.rs:410:36
|
410 | Err(err) => return err.into(),
| ^^^^^^^^^^ help: consider removing `.into()`: `err`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
Check failure on line 379 in pkcs11/src/api/token.rs
github-actions / clippy
useless conversion to the same type: `u64`
error: useless conversion to the same type: `u64`
--> pkcs11/src/api/token.rs:379:28
|
379 | Err(err) => return err.into(),
| ^^^^^^^^^^ help: consider removing `.into()`: `err`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `-D clippy::useless-conversion` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_conversion)]`