]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc1598-generic-associated-types/construct_with_other_type.stderr
Combine all builtin late lints
[rust.git] / src / test / ui / rfc1598-generic-associated-types / construct_with_other_type.stderr
1 error[E0110]: lifetime parameters are not allowed on this type
2   --> $DIR/construct_with_other_type.rs:26:46
3    |
4 LL |     type Baa<'a>: Deref<Target = <Self::Quux<'a> as Foo>::Bar<'a, 'static>>;
5    |                                              ^^ lifetime parameter not allowed on this type
6
7 error[E0110]: lifetime parameters are not allowed on this type
8   --> $DIR/construct_with_other_type.rs:26:63
9    |
10 LL |     type Baa<'a>: Deref<Target = <Self::Quux<'a> as Foo>::Bar<'a, 'static>>;
11    |                                                               ^^ lifetime parameter not allowed on this type
12
13 error[E0110]: lifetime parameters are not allowed on this type
14   --> $DIR/construct_with_other_type.rs:34:40
15    |
16 LL |     type Baa<'a> = &'a <T as Foo>::Bar<'a, 'static>;
17    |                                        ^^ lifetime parameter not allowed on this type
18
19 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0110`.