blob: b1d5961067bd7b9a0122330afe5529dcdf973c57 [file] [log] [blame]
//@ check-pass
#![feature(type_alias_impl_trait)]
type Opaque<'lt> = impl Sized + 'lt;
fn test<'a>(
arg: impl Iterator<Item = &'a u8>,
) -> impl Iterator<Item = Opaque<'a>> {
arg
}
fn main() {}