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