Files
ARCADIA-Studio/harness/experiments/diagram-removal-windows-20260912/clippy-42511f0.log
T

21 lines
1.3 KiB
Plaintext

Checking oa-desktop v0.2.0 (C:\Users\User\Documents\Git\ARCADIA-Studio\crates\oa-desktop)
error: unnecessary use of `clone` to create a slice from a reference
--> crates\oa-desktop\src\app\allocation_drag_full_tree_tests.rs:170:28
|
170 | .batch(&mut f.app, &[shortcut.clone()], mouse::Cursor::Unavailable)
| ^^^^^^^^^^^^^^^^^^^ help: try: `std::slice::from_ref(&shortcut)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#cloned_ref_to_slice_refs
= note: `-D clippy::cloned-ref-to-slice-refs` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::cloned_ref_to_slice_refs)]`
error: unnecessary use of `clone` to create a slice from a reference
--> crates\oa-desktop\src\app\allocation_drag_full_tree_tests.rs:187:28
|
187 | .batch(&mut f.app, &[shortcut.clone()], mouse::Cursor::Unavailable)
| ^^^^^^^^^^^^^^^^^^^ help: try: `std::slice::from_ref(&shortcut)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#cloned_ref_to_slice_refs
error: could not compile `oa-desktop` (bin "arcadia-studio" test) due to 2 previous errors