summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/in-trait/missing-lt-outlives-in-rpitit-114274.rs
blob: 6088dcc61d69678267e5e60de7e409207723fcf1 (plain)
1
2
3
4
5
6
7
8
9
10
trait Iterable {
    type Item<'a>
    where
        Self: 'a;

    fn iter(&self) -> impl Iterator<Item = Self::Item<'missing>>;
    //~^ ERROR use of undeclared lifetime name `'missing`
}

fn main() {}