GitHub Actions / clippy
failed
Oct 3, 2023 in 0s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.67.0 (fc594f156 2023-01-24)
- cargo 1.67.0 (8ecd4f20a 2023-01-10)
- clippy 0.1.67 (fc594f1 2023-01-24)
Annotations
Check failure on line 708 in crates/bitcoind_rpc/tests/test_emitter.rs
github-actions / clippy
redundant clone
error: redundant clone
--> crates/bitcoind_rpc/tests/test_emitter.rs:708:33
|
708 | env.mine_blocks(3, Some(addr.clone()))?;
| ^^^^^^^^ help: remove this
|
note: this value is dropped without further use
--> crates/bitcoind_rpc/tests/test_emitter.rs:708:29
|
708 | env.mine_blocks(3, Some(addr.clone()))?;
| ^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
Check failure on line 687 in crates/bitcoind_rpc/tests/test_emitter.rs
github-actions / clippy
redundant clone
error: redundant clone
--> crates/bitcoind_rpc/tests/test_emitter.rs:687:45
|
687 | env.mine_blocks(PREMINE_COUNT, Some(addr.clone()))?;
| ^^^^^^^^ help: remove this
|
note: this value is dropped without further use
--> crates/bitcoind_rpc/tests/test_emitter.rs:687:41
|
687 | env.mine_blocks(PREMINE_COUNT, Some(addr.clone()))?;
| ^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
= note: `-D clippy::redundant-clone` implied by `-D warnings`
Loading