Target pallet-revive
instead of pallet-contracts
#2949
GitHub Actions / clippy
failed
Dec 3, 2024 in 0s
clippy
3 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 3 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.83.0 (90b35a623 2024-11-26)
- cargo 1.83.0 (5ffbef321 2024-10-29)
- clippy 0.1.83 (90b35a6 2024-11-26)
Annotations
Check failure on line 561 in crates/extrinsics/src/integration_tests.rs
github-actions / clippy
using `clone` on type `H160` which implements the `Copy` trait
error: using `clone` on type `H160` which implements the `Copy` trait
--> crates/extrinsics/src/integration_tests.rs:561:13
|
561 | instantiate_result.contract_address.clone(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `instantiate_result.contract_address`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
Check failure on line 537 in crates/extrinsics/src/integration_tests.rs
github-actions / clippy
using `clone` on type `H160` which implements the `Copy` trait
error: using `clone` on type `H160` which implements the `Copy` trait
--> crates/extrinsics/src/integration_tests.rs:537:13
|
537 | instantiate_result.contract_address.clone(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `instantiate_result.contract_address`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
Check failure on line 508 in crates/extrinsics/src/integration_tests.rs
github-actions / clippy
using `clone` on type `H160` which implements the `Copy` trait
error: using `clone` on type `H160` which implements the `Copy` trait
--> crates/extrinsics/src/integration_tests.rs:508:13
|
508 | instantiate_result.contract_address.clone(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `instantiate_result.contract_address`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `-D clippy::clone-on-copy` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::clone_on_copy)]`
Loading