1 // Check that nested impl Trait items work in functions with generic parameters.
6 impl<T> Captures<'_> for T {}
8 fn nested_assoc_type<'a: 'a, T>() -> impl Iterator<Item = impl Sized> {
12 fn nested_assoc_lifetime<'a: 'a, T>() -> impl Iterator<Item = impl Captures<'a>> {