]> git.lizzy.rs Git - rust.git/blob - src/test/ui/methods/method-call-lifetime-args-unresolved.stderr
Rollup merge of #93603 - connorff:compute-polonius-liveness-facts-flag, r=ecstatic...
[rust.git] / src / test / ui / methods / method-call-lifetime-args-unresolved.stderr
1 error[E0261]: use of undeclared lifetime name `'a`
2   --> $DIR/method-call-lifetime-args-unresolved.rs:2:15
3    |
4 LL | fn main() {
5    |        - help: consider introducing lifetime `'a` here: `<'a>`
6 LL |     0.clone::<'a>();
7    |               ^^ undeclared lifetime
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0261`.