]> git.lizzy.rs Git - rust.git/blob - src/test/ui/methods/method-call-lifetime-args-unresolved.stderr
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
[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    = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0261`.