fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present 2 --> $DIR/method-call-lifetime-args-lint.rs:12:14 3 | 4LL | fn late<'a, 'b>(self, _: &'a u8, _: &'b u8) {} 5 | -- the late bound lifetime parameter is introduced here 6... 7LL | S.late::<'static>(&0, &0); 8 | ^^^^^^^ 9 | 10note: the lint level is defined here 11 --> $DIR/method-call-lifetime-args-lint.rs:1:9 12 | 13LL | #![deny(late_bound_lifetime_arguments)] 14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 15 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 16 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868> 17 18error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present 19 --> $DIR/method-call-lifetime-args-lint.rs:16:23 20 | 21LL | fn late_implicit(self, _: &u8, _: &u8) {} 22 | - the late bound lifetime parameter is introduced here 23... 24LL | S.late_implicit::<'static>(&0, &0); 25 | ^^^^^^^ 26 | 27 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 28 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868> 29 30error: aborting due to 2 previous errors 31