// check-pass trait Foo { fn early<'a, T: 'a>(x: &'a T) -> impl Iterator>; fn late<'a, T>(x: &'a T) -> impl Iterator>; } fn main() {}