1 error[E0277]: can't compare `&i32` with `Bar<'b, 'static>`
2 --> $DIR/self-referential-4.rs:6:5
5 | ^ no implementation for `&i32 == Bar<'b, 'static>`
7 = help: the trait `PartialEq<Bar<'b, 'static>>` is not implemented for `&i32`
8 = help: the following other types implement trait `PartialEq<Rhs>`:
19 error[E0277]: can't compare `&i32` with `Foo<'static, 'b>`
20 --> $DIR/self-referential-4.rs:12:5
23 | ^ no implementation for `&i32 == Foo<'static, 'b>`
25 = help: the trait `PartialEq<Foo<'static, 'b>>` is not implemented for `&i32`
26 = help: the following other types implement trait `PartialEq<Rhs>`:
37 error[E0277]: can't compare `&i32` with `Moo<'static, 'a>`
38 --> $DIR/self-referential-4.rs:18:5
41 | ^ no implementation for `&i32 == Moo<'static, 'a>`
43 = help: the trait `PartialEq<Moo<'static, 'a>>` 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`.