Deferred calls #191
GitHub Actions / clippy
failed
Oct 2, 2024 in 0s
clippy
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.74.1 (a28077b28 2023-12-04)
- cargo 1.74.1 (ecb9851af 2023-10-18)
- clippy 0.1.74 (a28077b 2023-12-04)
Annotations
Check failure on line 597 in massa-execution-worker/src/speculative_deferred_calls.rs
github-actions / clippy
using `clone` on type `DeferredCallsConfig` which implements the `Copy` trait
error: using `clone` on type `DeferredCallsConfig` which implements the `Copy` trait
--> massa-execution-worker/src/speculative_deferred_calls.rs:597:13
|
597 | config.clone(),
| ^^^^^^^^^^^^^^ help: try removing the `clone` call: `config`
|
= 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