error[E0261]: use of undeclared lifetime name `'a` | |
--> $DIR/method-call-lifetime-args-unresolved.rs:2:15 | |
| | |
LL | fn main() { | |
| - help: consider introducing lifetime `'a` here: `<'a>` | |
LL | 0.clone::<'a>(); | |
| ^^ undeclared lifetime | |
| | |
= help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0261`. |