//@ check-pass #![feature(type_alias_impl_trait)] type Opq = impl Sized; fn test() -> impl Iterator { Box::new(0..) as Box> } fn main(){}