fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0369]: binary operation `==` cannot be applied to type `Vec<Foo>` 2 --> $DIR/eq-vec.rs:11:5 3 | 4LL | assert_eq!(vec1, vec2); 5 | ^^^^^^^^^^^^^^^^^^^^^^ 6 | | 7 | Vec<Foo> 8 | Vec<Foo> 9 | 10note: an implementation of `PartialEq` might be missing for `Foo` 11 --> $DIR/eq-vec.rs:3:5 12 | 13LL | enum Foo { 14 | ^^^^^^^^ must implement `PartialEq` 15 = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) 16help: consider annotating `Foo` with `#[derive(PartialEq)]` 17 | 18LL + #[derive(PartialEq)] 19LL | enum Foo { 20 | 21 22error: aborting due to previous error 23 24For more information about this error, try `rustc --explain E0369`.