summary refs log tree commit diff
path: root/src/test/ui/methods/method-call-lifetime-args-unresolved.stderr
blob: 93c0384fcc2663fa8ff82c4170ba356e85814022 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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`.