1 #![feature(impl_trait_in_fn_trait_return)]
4 fn a() -> impl Fn(&u8) -> impl Debug + '_ {
5 //~^ ERROR ambiguous `+` in a type
6 //~| ERROR higher kinded lifetime bounds on nested opaque types are not supported yet
10 fn b() -> impl Fn() -> impl Debug + Send {
11 //~^ ERROR ambiguous `+` in a type