Files
ARCADIA-Studio/harness/experiments/canvas-union-windows-20260911/clippy-82fd0ac.log
T

27 lines
1.0 KiB
Plaintext

Checking oa-desktop v0.2.0 (C:\Users\User\Documents\Git\ARCADIA-Studio\crates\oa-desktop)
error: this `if` statement can be collapsed
--> crates\oa-desktop\src\behavior\canvas_workspace\control.rs:158:13
|
158 | / if matches!(
159 | | event,
160 | | Event::Mouse(mouse::Event::ButtonPressed(mouse::Button::Left))
161 | | ) {
... |
169 | | }
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#collapsible_if
= note: `-D clippy::collapsible-if` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::collapsible_if)]`
help: collapse nested if block
|
161 ~ )
162 ~ && !layout
163 | .bounds()
...
167 | state.focused = false;
168 ~ }
|
error: could not compile `oa-desktop` (bin "arcadia-studio" test) due to 1 previous error