1 error[E0107]: this type alias takes 1 lifetime argument but 2 lifetime arguments were supplied
2 --> $DIR/mismatched_arg_count.rs:9:29
4 LL | fn bar<'a, T: Trait<'a>>(_: Alias<'a, 'a, T>) {}
5 | ^^^^^ -- help: remove this lifetime argument
7 | expected 1 lifetime argument
9 note: type alias defined here, with 1 lifetime parameter: `'a`
10 --> $DIR/mismatched_arg_count.rs:7:6
12 LL | type Alias<'a, T> = <T as Trait<'a>>::Assoc;
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0107`.