blob: 404be59a36d9258b2da2fb91976e7ba41a0c8c64 [file] [log] [blame]
#![allow(incomplete_features)]
#![feature(generic_associated_types)]
// check-pass
trait Iterator {
type Item<'a>: 'a;
}
impl Iterator for () {
type Item<'a> = &'a ();
}
fn main() {}