Infer compatibility mode from version specs and fallback to node info only if necessary #10503
GitHub Actions / clippy-no-default-features
failed
Sep 3, 2024 in 0s
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.80.1 (3f5fd8dd4 2024-08-06)
- cargo 1.80.1 (376290515 2024-07-16)
- clippy 0.1.80 (3f5fd8d 2024-08-06)
Annotations
Check failure on line 203 in crates/relayer-cli/src/commands/listen.rs
github-actions / clippy-no-default-features
useless conversion to the same type: `tendermint_rpc::client::CompatMode`
error: useless conversion to the same type: `tendermint_rpc::client::CompatMode`
--> crates/relayer-cli/src/commands/listen.rs:203:8
|
203 | Ok(compat_mode.into())
| ^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `compat_mode`
|
= 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 203 in crates/relayer-cli/src/commands/listen.rs
github-actions / clippy-no-default-features
useless conversion to the same type: `tendermint_rpc::client::CompatMode`
error: useless conversion to the same type: `tendermint_rpc::client::CompatMode`
--> crates/relayer-cli/src/commands/listen.rs:203:8
|
203 | Ok(compat_mode.into())
| ^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `compat_mode`
|
= 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)]`
Loading