blob: 552204867f630a3479c052fc077a3472f9c21526 [file] [log] [blame] [edit]
//@ run-pass
#![allow(dead_code)]
// Test that you can insert an explicit lifetime in explicit self.
struct Foo {
f: usize
}
impl Foo {
pub fn foo<'a>(&'a self) {}
}
pub fn main() {}