fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0261]: use of undeclared lifetime name `'missing` 2 --> $DIR/missing-lt-outlives-in-rpitit-114274.rs:8:55 3 | 4LL | fn iter(&self) -> impl Iterator<Item = Self::Item<'missing>>; 5 | ^^^^^^^^ undeclared lifetime 6 | 7 = note: for more information on higher-ranked polymorphism, visit https://doc.rust-lang.org/nomicon/hrtb.html 8help: consider making the bound lifetime-generic with a new `'missing` lifetime 9 | 10LL | fn iter(&self) -> impl for<'missing> Iterator<Item = Self::Item<'missing>>; 11 | +++++++++++++ 12help: consider introducing lifetime `'missing` here 13 | 14LL | fn iter<'missing>(&self) -> impl Iterator<Item = Self::Item<'missing>>; 15 | ++++++++++ 16help: consider introducing lifetime `'missing` here 17 | 18LL | trait Iterable<'missing> { 19 | ++++++++++ 20 21error: aborting due to previous error 22 23For more information about this error, try `rustc --explain E0261`.