1 error[E0277]: can't compare `i32` with `Foo`
2 --> $DIR/self-referential-2.rs:7:5
5 | ^^^^^^ no implementation for `i32 == Foo`
7 = help: the trait `PartialEq<Foo>` is not implemented for `i32`
8 = help: the following other types implement trait `PartialEq<Rhs>`:
19 error: aborting due to previous error
21 For more information about this error, try `rustc --explain E0277`.