fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0369]: binary operation `==` cannot be applied to type `[X; 3]` 2 --> $DIR/eq-arr.rs:5:17 3 | 4LL | let eq = xs == [X, X, X]; 5 | -- ^^ --------- [X; 3] 6 | | 7 | [X; 3] 8 | 9note: an implementation of `PartialEq` might be missing for `X` 10 --> $DIR/eq-arr.rs:2:5 11 | 12LL | struct X; 13 | ^^^^^^^^ must implement `PartialEq` 14help: consider annotating `X` with `#[derive(PartialEq)]` 15 | 16LL + #[derive(PartialEq)] 17LL | struct X; 18 | 19 20error: aborting due to previous error 21 22For more information about this error, try `rustc --explain E0369`.