Skip to content

use latest for queries packet/ack/receipt and return proof height #33

use latest for queries packet/ack/receipt and return proof height

use latest for queries packet/ack/receipt and return proof height #33

GitHub Actions / clippy-no-default-features failed Nov 1, 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.82.0 (f6e511eec 2024-10-15)
  • cargo 1.82.0 (8f40fc59f 2024-08-21)
  • clippy 0.1.82 (f6e511e 2024-10-15)

Annotations

Check failure on line 412 in crates/relayer-types/src/core/ics03_connection/connection.rs

See this annotation in the file changed.

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

function cannot return without recursing

error: function cannot return without recursing
   --> crates/relayer-types/src/core/ics03_connection/connection.rs:410:5
    |
410 | /     fn from(value: State) -> Self {
411 | |         value.into()
412 | |     }
    | |_____^
    |
note: recursive call site
   --> crates/relayer-types/src/core/ics03_connection/connection.rs:411:9
    |
411 |         value.into()
    |         ^^^^^^^^^^^^
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unconditional_recursion
    = note: `-D clippy::unconditional-recursion` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::unconditional_recursion)]`

Check failure on line 9 in crates/relayer-types/src/core/ics03_connection/connection.rs

See this annotation in the file changed.

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

importing legacy numeric constants

error: importing legacy numeric constants
 --> crates/relayer-types/src/core/ics03_connection/connection.rs:9:5
  |
9 |     u64,
  |     ^^^
  |
  = help: remove this import
  = note: then `u64::<CONST>` will resolve to the respective associated constant
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
  = note: `-D clippy::legacy-numeric-constants` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(clippy::legacy_numeric_constants)]`