fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present 2 --> $DIR/issue-60622.rs:10:11 3 | 4LL | fn a(&self) {} 5 | - the late bound lifetime parameter is introduced here 6... 7LL | b.a::<'_, T>(); 8 | ^^ 9 | 10 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 11 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868> 12note: the lint level is defined here 13 --> $DIR/issue-60622.rs:1:9 14 | 15LL | #![deny(warnings)] 16 | ^^^^^^^^ 17 = note: `#[deny(late_bound_lifetime_arguments)]` implied by `#[deny(warnings)]` 18 19error[E0107]: method takes 0 generic arguments but 1 generic argument was supplied 20 --> $DIR/issue-60622.rs:10:7 21 | 22LL | b.a::<'_, T>(); 23 | ^ - help: remove this generic argument 24 | | 25 | expected 0 generic arguments 26 | 27note: method defined here, with 0 generic parameters 28 --> $DIR/issue-60622.rs:6:8 29 | 30LL | fn a(&self) {} 31 | ^ 32 33error: aborting due to 2 previous errors 34 35For more information about this error, try `rustc --explain E0107`.