]>
Commit | Line | Data |
---|---|---|
5869c6ff | 1 | error[E0107]: this associated type takes 1 lifetime argument but 2 lifetime arguments were supplied |
136023e0 | 2 | --> $DIR/parameter_number_and_kind.rs:12:24 |
dfeec247 XL |
3 | | |
4 | LL | type FErr1 = Self::E<'static, 'static>; | |
17df50a5 | 5 | | ^ ------- help: remove this lifetime argument |
5869c6ff XL |
6 | | | |
7 | | expected 1 lifetime argument | |
8 | | | |
9 | note: associated type defined here, with 1 lifetime parameter: `'a` | |
136023e0 | 10 | --> $DIR/parameter_number_and_kind.rs:9:10 |
5869c6ff XL |
11 | | |
12 | LL | type E<'a, T>; | |
13 | | ^ -- | |
dfeec247 | 14 | |
17df50a5 | 15 | error[E0107]: this associated type takes 1 generic argument but 0 generic arguments were supplied |
136023e0 | 16 | --> $DIR/parameter_number_and_kind.rs:12:24 |
dfeec247 XL |
17 | | |
18 | LL | type FErr1 = Self::E<'static, 'static>; | |
17df50a5 | 19 | | ^ expected 1 generic argument |
5869c6ff | 20 | | |
17df50a5 | 21 | note: associated type defined here, with 1 generic parameter: `T` |
136023e0 | 22 | --> $DIR/parameter_number_and_kind.rs:9:10 |
5869c6ff XL |
23 | | |
24 | LL | type E<'a, T>; | |
25 | | ^ - | |
17df50a5 | 26 | help: add missing generic argument |
5869c6ff XL |
27 | | |
28 | LL | type FErr1 = Self::E<'static, 'static, T>; | |
94222f64 | 29 | | +++ |
dfeec247 | 30 | |
17df50a5 | 31 | error[E0107]: this associated type takes 1 generic argument but 2 generic arguments were supplied |
136023e0 | 32 | --> $DIR/parameter_number_and_kind.rs:15:27 |
dfeec247 XL |
33 | | |
34 | LL | type FErr2<T> = Self::E<'static, T, u32>; | |
17df50a5 | 35 | | ^ --- help: remove this generic argument |
5869c6ff | 36 | | | |
17df50a5 | 37 | | expected 1 generic argument |
5869c6ff | 38 | | |
17df50a5 | 39 | note: associated type defined here, with 1 generic parameter: `T` |
136023e0 | 40 | --> $DIR/parameter_number_and_kind.rs:9:10 |
5869c6ff XL |
41 | | |
42 | LL | type E<'a, T>; | |
43 | | ^ - | |
dfeec247 | 44 | |
f035d41b | 45 | error: aborting due to 3 previous errors |
dfeec247 XL |
46 | |
47 | For more information about this error, try `rustc --explain E0107`. |