1 #![feature(generic_associated_types)]
6 fn identity<'a>(t: &'a Self::F<'a>) -> &'a Self::F<'a> { t }
13 fn bug<'a, T: ?Sized + Fun<F<'a> = [u8]>>(t: Box<T>) -> &'static T::F<'a> {
15 let x = T::identity(&a);
24 //~^ ERROR: type mismatch resolving `<{integer} as Fun>::F<'_> == [u8]`