blob: 4b4e59a512462791c0e639b7c87794e16c6bb5c9 [file] [log] [blame]
#![allow(incomplete_features)]
#![feature(generic_associated_types)]
use std::ops::Deref;
trait Iterable {
type Item<'a>;
type Iter<'a>: Iterator<Item = Self::Item<'a>>
+ Deref<Target = Self::Item<'b>>;
//~^ ERROR undeclared lifetime
fn iter<'a>(&'a self) -> Self::Iter<'undeclared>;
//~^ ERROR undeclared lifetime
}
fn main() {}