fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
885 B26 linesraw
1error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
2  --> $DIR/method-call-lifetime-args.rs:9:15
3   |
4LL |     S::late::<'static>(S, &0, &0);
5   |               ^^^^^^^
6   |
7note: the late bound lifetime parameter is introduced here
8  --> $DIR/method-call-lifetime-args.rs:4:13
9   |
10LL |     fn late<'a, 'b>(self, _: &'a u8, _: &'b u8) {}
11   |             ^^
12
13error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
14  --> $DIR/method-call-lifetime-args.rs:11:24
15   |
16LL |     S::late_implicit::<'static>(S, &0, &0);
17   |                        ^^^^^^^
18   |
19note: the late bound lifetime parameter is introduced here
20  --> $DIR/method-call-lifetime-args.rs:5:31
21   |
22LL |     fn late_implicit(self, _: &u8, _: &u8) {}
23   |                               ^
24
25error: aborting due to 2 previous errors
26