]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc1598-generic-associated-types/parameter_number_and_kind.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / rfc1598-generic-associated-types / parameter_number_and_kind.stderr
1 warning: the feature `generic_associated_types` is incomplete and may cause the compiler to crash
2   --> $DIR/parameter_number_and_kind.rs:11:12
3    |
4 LL | #![feature(generic_associated_types)]
5    |            ^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error[E0110]: lifetime parameters are not allowed on this type
8   --> $DIR/parameter_number_and_kind.rs:27:27
9    |
10 LL |     type FOk<T> = Self::E<'static, T>;
11    |                           ^^^^^^^ lifetime parameter not allowed
12
13 error[E0109]: type parameters are not allowed on this type
14   --> $DIR/parameter_number_and_kind.rs:27:36
15    |
16 LL |     type FOk<T> = Self::E<'static, T>;
17    |                                    ^ type parameter not allowed
18
19 error[E0110]: lifetime parameters are not allowed on this type
20   --> $DIR/parameter_number_and_kind.rs:30:26
21    |
22 LL |     type FErr1 = Self::E<'static, 'static>; // Error
23    |                          ^^^^^^^ lifetime parameter not allowed
24
25 error[E0110]: lifetime parameters are not allowed on this type
26   --> $DIR/parameter_number_and_kind.rs:32:29
27    |
28 LL |     type FErr2<T> = Self::E<'static, T, u32>; // Error
29    |                             ^^^^^^^ lifetime parameter not allowed
30
31 error[E0109]: type parameters are not allowed on this type
32   --> $DIR/parameter_number_and_kind.rs:32:38
33    |
34 LL |     type FErr2<T> = Self::E<'static, T, u32>; // Error
35    |                                      ^ type parameter not allowed
36
37 error: aborting due to 5 previous errors
38
39 Some errors occurred: E0109, E0110.
40 For more information about an error, try `rustc --explain E0109`.