feat(ibc-test): use ICS20TransferERC20, remove MockTransfer #653
GitHub Actions / clippy-no-default-features
failed
Oct 20, 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.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 104 in tools/test-framework/src/relayer/axon/transfer.rs
github-actions / clippy-no-default-features
the borrowed expression implements the required traits
error: the borrowed expression implements the required traits
--> tools/test-framework/src/relayer/axon/transfer.rs:104:43
|
104 | H160::from_slice(&hex::decode(&denom.trim_start_matches("0x")).unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `denom.trim_start_matches("0x")`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
Check failure on line 104 in tools/test-framework/src/relayer/axon/transfer.rs
github-actions / clippy-no-default-features
the borrowed expression implements the required traits
error: the borrowed expression implements the required traits
--> tools/test-framework/src/relayer/axon/transfer.rs:104:43
|
104 | H160::from_slice(&hex::decode(&denom.trim_start_matches("0x")).unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `denom.trim_start_matches("0x")`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
Loading