1.7.0 with Namada #52
GitHub Actions / clippy-no-default-features
failed
Nov 8, 2023 in 1s
clippy-no-default-features
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.73.0 (cc66ad468 2023-10-03)
- cargo 1.73.0 (9c4383fb5 2023-08-26)
- clippy 0.1.73 (cc66ad4 2023-10-03)
Annotations
Check failure on line 38 in tools/test-framework/src/chain/chain_type.rs
github-actions / clippy-no-default-features
unnecessary use of `to_string`
error: unnecessary use of `to_string`
--> tools/test-framework/src/chain/chain_type.rs:38:50
|
38 | Self::Namada => ChainId::from_string(&prefix.to_string()),
| ^^^^^^^^^^^^^^^^^^^ help: use: `prefix`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned
= note: `-D clippy::unnecessary-to-owned` implied by `-D warnings`
Check failure on line 38 in tools/test-framework/src/chain/chain_type.rs
github-actions / clippy-no-default-features
unnecessary use of `to_string`
error: unnecessary use of `to_string`
--> tools/test-framework/src/chain/chain_type.rs:38:50
|
38 | Self::Namada => ChainId::from_string(&prefix.to_string()),
| ^^^^^^^^^^^^^^^^^^^ help: use: `prefix`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned
= note: `-D clippy::unnecessary-to-owned` implied by `-D warnings`
Loading