Skip to content

Implement mock cosmos chain using ibc-rs, tendermint-rs and basecoin libs #1628

Implement mock cosmos chain using ibc-rs, tendermint-rs and basecoin libs

Implement mock cosmos chain using ibc-rs, tendermint-rs and basecoin libs #1628

GitHub Actions / clippy-no-default-features failed Aug 26, 2023 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.72.0 (5680fa18f 2023-08-23)
  • cargo 1.72.0 (103a7ff2e 2023-08-15)
  • clippy 0.1.72 (5680fa1 2023-08-23)

Annotations

Check failure on line 572 in crates/relayer/src/chain/cosmos.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

this `if` branch is empty

error: this `if` branch is empty
   --> crates/relayer/src/chain/cosmos.rs:572:9
    |
572 |         if prove {}
    |         ^^^^^^^^^^^ help: you can remove it
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_if
    = note: `#[deny(clippy::needless_if)]` implied by `#[deny(warnings)]`

Check failure on line 693 in crates/relayer/src/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

unnecessary hashes around raw string literal

error: unnecessary hashes around raw string literal
   --> crates/relayer/src/error.rs:693:20
    |
693 |         Regex::new(r#"account sequence mismatch, expected (?P<expected>\d+), got (?P<got>\d+)"#)
    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `r"account sequence mismatch, expected (?P<expected>\d+), got (?P<got>\d+)"`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
note: the lint level is defined here
   --> crates/relayer/src/lib.rs:3:5
    |
3   |     warnings,
    |     ^^^^^^^^
    = note: `#[deny(clippy::needless_raw_string_hashes)]` implied by `#[deny(warnings)]`