1 // build-pass (FIXME(62277): could be check-pass?)
3 // pretty-expanded FIXME #23616
6 fn method(self) -> isize;
13 impl<'a, T> Trait for &'a Wrapper<T> where &'a T: Trait {
14 fn method(self) -> isize {
15 let r: &'a T = &self.field;
16 Trait::method(r); // these should both work