Skip to content

Have separate bootstraps in the setup context

Sign in for the full log view
GitHub Actions / clippy-all-features failed Jan 19, 2024 in 1s

clippy-all-features

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
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 202 in crates/cosmos/cosmos-integration-tests/src/contexts/bootstrap.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-all-features

redundant pattern matching, consider using `is_ok()`

error: redundant pattern matching, consider using `is_ok()`
   --> crates/cosmos/cosmos-integration-tests/src/contexts/bootstrap.rs:202:20
    |
202 |             if let Ok(_) = base_chain.query_chain_status().await {
    |             -------^^^^^---------------------------------------- help: try: `if (base_chain.query_chain_status().await).is_ok()`
    |
    = note: this will change drop order of the result, as well as all temporaries
    = note: add `#[allow(clippy::redundant_pattern_matching)]` if this is important
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
    = note: `-D clippy::redundant-pattern-matching` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::redundant_pattern_matching)]`

Check failure on line 202 in crates/cosmos/cosmos-integration-tests/src/contexts/bootstrap.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-all-features

redundant pattern matching, consider using `is_ok()`

error: redundant pattern matching, consider using `is_ok()`
   --> crates/cosmos/cosmos-integration-tests/src/contexts/bootstrap.rs:202:20
    |
202 |             if let Ok(_) = base_chain.query_chain_status().await {
    |             -------^^^^^---------------------------------------- help: try: `if (base_chain.query_chain_status().await).is_ok()`
    |
    = note: this will change drop order of the result, as well as all temporaries
    = note: add `#[allow(clippy::redundant_pattern_matching)]` if this is important
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
    = note: `-D clippy::redundant-pattern-matching` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::redundant_pattern_matching)]`