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 implementations were found:
15 error[E0277]: can't compare `&i32` with `(i32, &i32)`
16 --> $DIR/self-referential.rs:12:10
19 | ^ no implementation for `&i32 == (i32, &i32)`
21 = help: the trait `PartialEq<(i32, &i32)>` is not implemented for `&i32`
22 = help: the following implementations were found:
29 error[E0277]: can't compare `&i32` with `(i32, Moo<'b, 'a>::{opaque#0})`
30 --> $DIR/self-referential.rs:18:10
33 | ^ no implementation for `&i32 == (i32, Moo<'b, 'a>::{opaque#0})`
35 = help: the trait `PartialEq<(i32, Moo<'b, 'a>::{opaque#0})>` is not implemented for `&i32`
36 = help: the following implementations were found:
43 error: aborting due to 3 previous errors
45 For more information about this error, try `rustc --explain E0277`.