blob: caf21d64027dca073ad377a4a6671881d3792eac [file] [log] [blame]
#![feature(type_alias_impl_trait)]
type Opaque<'a> = impl Sized + 'a;
fn test(f: fn(u8)) -> fn(Opaque<'_>) {
f //~ ERROR E0792
}
fn main() {}