1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// run-pass #![allow(dead_code)] // Test that you can insert an explicit lifetime in explicit self. // pretty-expanded FIXME #23616 struct Foo { f: usize } impl Foo { pub fn foo<'a>(&'a self) {} } pub fn main() {}