]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/self-referential-4.stderr
unboxed-closures and type-alias-impl-trait nll revisions
[rust.git] / src / test / ui / type-alias-impl-trait / self-referential-4.stderr
1 error[E0277]: can't compare `&i32` with `Bar<'b, 'static>`
2   --> $DIR/self-referential-4.rs:6:5
3    |
4 LL |     i
5    |     ^ no implementation for `&i32 == Bar<'b, 'static>`
6    |
7    = help: the trait `PartialEq<Bar<'b, 'static>>` is not implemented for `&i32`
8
9 error[E0277]: can't compare `&i32` with `Foo<'static, 'b>`
10   --> $DIR/self-referential-4.rs:12:5
11    |
12 LL |     i
13    |     ^ no implementation for `&i32 == Foo<'static, 'b>`
14    |
15    = help: the trait `PartialEq<Foo<'static, 'b>>` is not implemented for `&i32`
16
17 error[E0277]: can't compare `&i32` with `Moo<'static, 'a>`
18   --> $DIR/self-referential-4.rs:18:5
19    |
20 LL |     i
21    |     ^ no implementation for `&i32 == Moo<'static, 'a>`
22    |
23    = help: the trait `PartialEq<Moo<'static, 'a>>` is not implemented for `&i32`
24
25 error: aborting due to 3 previous errors
26
27 For more information about this error, try `rustc --explain E0277`.