1 error[E0277]: can't compare `&i32` with `Bar<'b, 'a>`
2 --> $DIR/self-referential.rs:6:5
5 | ^ no implementation for `&i32 == Bar<'b, 'a>`
7 = help: the trait `PartialEq<Bar<'b, 'a>>` is not implemented for `&i32`
8 = help: the following other types implement trait `PartialEq<Rhs>`:
19 error[E0277]: can't compare `&i32` with `(i32, &i32)`
20 --> $DIR/self-referential.rs:12:10
23 | ^ no implementation for `&i32 == (i32, &i32)`
25 = help: the trait `PartialEq<(i32, &i32)>` is not implemented for `&i32`
26 = help: the following other types implement trait `PartialEq<Rhs>`:
37 error[E0277]: can't compare `&i32` with `(i32, Moo<'b, 'a>::{opaque#0})`
38 --> $DIR/self-referential.rs:18:10
41 | ^ no implementation for `&i32 == (i32, Moo<'b, 'a>::{opaque#0})`
43 = help: the trait `PartialEq<(i32, Moo<'b, 'a>::{opaque#0})>` is not implemented for `&i32`
44 = help: the following other types implement trait `PartialEq<Rhs>`:
55 error: aborting due to 3 previous errors
57 For more information about this error, try `rustc --explain E0277`.