Files
ARCADIA-Studio/harness/experiments/diagram-removal-windows-20260912/palette-f555193-r2.log
T

36 lines
1.5 KiB
Plaintext

Compiling oa-desktop v0.2.0 (C:\Users\User\Documents\Git\ARCADIA-Studio\crates\oa-desktop)
error[E0308]: mismatched types
--> crates\oa-desktop\src\style\tests\readonly.rs:189:39
|
189 | .filter(|(_, pixel)| near(pixel, style.selection, 3))
| ---- ^^^^^ expected `&[u8]`, found `&&[u8; 4]`
| |
| arguments to this function are incorrect
|
= note: expected reference `&[u8]`
found reference `&&[u8; 4]`
note: function defined here
--> crates\oa-desktop\src\style\tests\readonly.rs:60:4
|
60 | fn near(pixel: &[u8], color: Color, tolerance: u8) -> bool {
| ^^^^ ------------
error[E0308]: mismatched types
--> crates\oa-desktop\src\style\tests\readonly.rs:209:29
|
209 | && near(pixel, style.value, 12)
| ---- ^^^^^ expected `&[u8]`, found `&&[u8; 4]`
| |
| arguments to this function are incorrect
|
= note: expected reference `&[u8]`
found reference `&&[u8; 4]`
note: function defined here
--> crates\oa-desktop\src\style\tests\readonly.rs:60:4
|
60 | fn near(pixel: &[u8], color: Color, tolerance: u8) -> bool {
| ^^^^ ------------
For more information about this error, try `rustc --explain E0308`.
error: could not compile `oa-desktop` (bin "arcadia-studio" test) due to 2 previous errors