]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc1598-generic-associated-types/parameter_number_and_kind.stderr
tests: prefer edition: directives to compile-flags:--edition.
[rust.git] / src / test / ui / rfc1598-generic-associated-types / parameter_number_and_kind.stderr
1 error[E0110]: lifetime parameters are not allowed on this type
2   --> $DIR/parameter_number_and_kind.rs:26:27
3    |
4 LL |     type FOk<T> = Self::E<'static, T>;
5    |                           ^^^^^^^ lifetime parameter not allowed
6
7 error[E0109]: type parameters are not allowed on this type
8   --> $DIR/parameter_number_and_kind.rs:26:36
9    |
10 LL |     type FOk<T> = Self::E<'static, T>;
11    |                                    ^ type parameter not allowed
12
13 error[E0110]: lifetime parameters are not allowed on this type
14   --> $DIR/parameter_number_and_kind.rs:29:26
15    |
16 LL |     type FErr1 = Self::E<'static, 'static>; // Error
17    |                          ^^^^^^^ lifetime parameter not allowed
18
19 error[E0110]: lifetime parameters are not allowed on this type
20   --> $DIR/parameter_number_and_kind.rs:31:29
21    |
22 LL |     type FErr2<T> = Self::E<'static, T, u32>; // Error
23    |                             ^^^^^^^ lifetime parameter not allowed
24
25 error[E0109]: type parameters are not allowed on this type
26   --> $DIR/parameter_number_and_kind.rs:31:38
27    |
28 LL |     type FErr2<T> = Self::E<'static, T, u32>; // Error
29    |                                      ^ type parameter not allowed
30
31 error: aborting due to 5 previous errors
32
33 Some errors occurred: E0109, E0110.
34 For more information about an error, try `rustc --explain E0109`.