1 // Test related to #22779. In this case, the impl is an inherent impl,
2 // so it doesn't have to match any trait, so no error results.
7 struct MySlice<'a, T:'a>(&'a mut [T]);
9 impl<'a, T> MySlice<'a, T> {
10 fn renew<'b: 'a>(self) -> &'b mut [T] where 'a: 'b {