blob: d021889c08424c1d8674ec5ace5f451df0d1f21e [file] [log] [blame]
error[E0107]: this associated type takes 1 lifetime argument but 2 lifetime arguments were supplied
--> $DIR/parameter_number_and_kind.rs:13:24
|
LL | type FErr1 = Self::E<'static, 'static>;
| ^ --------- help: remove this lifetime argument
| |
| expected 1 lifetime argument
|
note: associated type defined here, with 1 lifetime parameter: `'a`
--> $DIR/parameter_number_and_kind.rs:10:10
|
LL | type E<'a, T>;
| ^ --
error[E0107]: this associated type takes 1 type argument but 0 type arguments were supplied
--> $DIR/parameter_number_and_kind.rs:13:24
|
LL | type FErr1 = Self::E<'static, 'static>;
| ^ expected 1 type argument
|
note: associated type defined here, with 1 type parameter: `T`
--> $DIR/parameter_number_and_kind.rs:10:10
|
LL | type E<'a, T>;
| ^ -
help: add missing type argument
|
LL | type FErr1 = Self::E<'static, 'static, T>;
| ^^^
error[E0107]: this associated type takes 1 type argument but 2 type arguments were supplied
--> $DIR/parameter_number_and_kind.rs:16:27
|
LL | type FErr2<T> = Self::E<'static, T, u32>;
| ^ ----- help: remove this type argument
| |
| expected 1 type argument
|
note: associated type defined here, with 1 type parameter: `T`
--> $DIR/parameter_number_and_kind.rs:10:10
|
LL | type E<'a, T>;
| ^ -
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0107`.