1 #![feature(generic_associated_types)]
2 #![allow(incomplete_features)]
11 //~^ ERROR missing generics
12 fn test_mut<'a>(&'a mut self) -> Self::Output<'a>;
15 impl<T> TestMut for E<T>
19 type Output<'a> = &'a mut T;
20 fn test_mut<'a>(&'a mut self) -> Self::Output<'a> {
25 fn test_simpler<'a>(dst: &'a mut impl TestMut<Output = &'a mut f32>)
28 *dst.test_mut() = n.into();
33 let mut t1: E<f32> = Default::default();
34 test_simpler(&mut t1);