1 #![feature(generic_associated_types)]
10 fn test_mut<'a>(&'a mut self) -> Self::Output<'a>;
13 impl<T> TestMut for E<T>
17 type Output<'a> = &'a mut T;
18 fn test_mut<'a>(&'a mut self) -> Self::Output<'a> {
23 fn test_simpler<'a>(dst: &'a mut impl TestMut<Output = &'a mut f32>)
24 //~^ ERROR missing generics for associated type
27 *dst.test_mut() = n.into();
32 let mut t1: E<f32> = Default::default();
33 test_simpler(&mut t1);