blob: 4c56fe2d1dce283f9b6655f79dd16807e846197e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// 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() {}
|