Testnet 9.2 merge #325
Testnet 9.2 merge #325
clippy
7 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 7 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.81.0-nightly (506985649 2024-07-20)
- cargo 1.81.0-nightly (a2b58c3da 2024-07-16)
- clippy 0.1.81 (5069856 2024-07-20)
Annotations
Check failure on line 2050 in src/app.rs
github-actions / clippy
the borrowed expression implements the required traits
error: the borrowed expression implements the required traits
--> src/app.rs:2050:34
|
2050 | let variant = u8::decode(&mut maybe_ibc_bytes)?;
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `maybe_ibc_bytes`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
Check failure on line 1740 in src/app.rs
github-actions / clippy
the borrowed expression implements the required traits
error: the borrowed expression implements the required traits
--> src/app.rs:1740:47
|
1740 | let memo = LengthString::<u8>::decode(&mut bytes)?;
| ^^^^^^^^^^ help: change this to: `bytes`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
Check failure on line 1739 in src/app.rs
github-actions / clippy
the borrowed expression implements the required traits
error: the borrowed expression implements the required traits
--> src/app.rs:1739:45
|
1739 | let timeout_timestamp = u64::decode(&mut bytes)?;
| ^^^^^^^^^^ help: change this to: `bytes`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
Check failure on line 1738 in src/app.rs
github-actions / clippy
the borrowed expression implements the required traits
error: the borrowed expression implements the required traits
--> src/app.rs:1738:49
|
1738 | let sender = LengthString::<u8>::decode(&mut bytes)?;
| ^^^^^^^^^^ help: change this to: `bytes`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
Check failure on line 1737 in src/app.rs
github-actions / clippy
the borrowed expression implements the required traits
error: the borrowed expression implements the required traits
--> src/app.rs:1737:51
|
1737 | let receiver = LengthString::<u8>::decode(&mut bytes)?;
| ^^^^^^^^^^ help: change this to: `bytes`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
Check failure on line 1736 in src/app.rs
github-actions / clippy
the borrowed expression implements the required traits
error: the borrowed expression implements the required traits
--> src/app.rs:1736:57
|
1736 | let source_channel = LengthString::<u8>::decode(&mut bytes)?;
| ^^^^^^^^^^ help: change this to: `bytes`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
Check failure on line 1735 in src/app.rs
github-actions / clippy
the borrowed expression implements the required traits
error: the borrowed expression implements the required traits
--> src/app.rs:1735:54
|
1735 | let source_port = LengthString::<u8>::decode(&mut bytes)?;
| ^^^^^^^^^^ help: change this to: `bytes`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `-D clippy::needless-borrows-for-generic-args` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrows_for_generic_args)]`