fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
373 B11 linesraw
1error[E0261]: use of undeclared lifetime name `'a`
2  --> $DIR/method-call-lifetime-args-unresolved.rs:2:15
3   |
4LL | fn main() {
5   |        - help: consider introducing lifetime `'a` here: `<'a>`
6LL |     0.clone::<'a>();
7   |               ^^ undeclared lifetime
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0261`.