Skip to content

1.7.0 with Namada

1.7.0 with Namada #59

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy-no-default-features failed Nov 10, 2023 in 1s

clippy-no-default-features

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
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 319 in tools/integration-test/src/tests/clear_packet.rs

See this annotation in the file changed.

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

non-exhaustive patterns: `&mut ibc_relayer::config::ChainConfig::Namada(_)` not covered

error[E0004]: non-exhaustive patterns: `&mut ibc_relayer::config::ChainConfig::Namada(_)` not covered
   --> tools/integration-test/src/tests/clear_packet.rs:319:19
    |
319 |             match chain_config {
    |                   ^^^^^^^^^^^^ pattern `&mut ibc_relayer::config::ChainConfig::Namada(_)` not covered
    |
note: `ibc_relayer::config::ChainConfig` defined here
   --> /home/runner/work/hermes/hermes/crates/relayer/src/config.rs:597:5
    |
594 | pub enum ChainConfig {
    | --------------------
...
597 |     Namada(CosmosSdkConfig),
    |     ^^^^^^ not covered
    = note: the matched value is of type `&mut ibc_relayer::config::ChainConfig`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
    |
321 ~                 ChainConfig::CosmosSdk(chain_config) => chain_config.clear_interval = Some(10),
322 ~                 &mut ibc_relayer::config::ChainConfig::Namada(_) => todo!(),
    |