GitHub Actions / Clippy (MSRV)
failed
Feb 21, 2024 in 0s
Clippy (MSRV)
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.65.0 (897e37553 2022-11-02)
- cargo 1.65.0 (4bc8f24d3 2022-10-20)
- clippy 0.1.65 (897e375 2022-11-02)
Annotations
Check failure on line 875 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
using `clone` on type `sapling_crypto::keys::OutgoingViewingKey` which implements the `Copy` trait
error: using `clone` on type `sapling_crypto::keys::OutgoingViewingKey` which implements the `Copy` trait
--> zcash_client_backend/src/data_api/wallet.rs:875:51
|
875 | OvkPolicy::Custom { sapling, .. } => Some(sapling.clone()),
| ^^^^^^^^^^^^^^^ help: try dereferencing it: `*sapling`
|
= note: `-D clippy::clone-on-copy` implied by `-D warnings`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
Check failure on line 875 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
using `clone` on type `sapling_crypto::keys::OutgoingViewingKey` which implements the `Copy` trait
error: using `clone` on type `sapling_crypto::keys::OutgoingViewingKey` which implements the `Copy` trait
--> zcash_client_backend/src/data_api/wallet.rs:875:51
|
875 | OvkPolicy::Custom { sapling, .. } => Some(sapling.clone()),
| ^^^^^^^^^^^^^^^ help: try dereferencing it: `*sapling`
|
= note: `-D clippy::clone-on-copy` implied by `-D warnings`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
Loading