blob: 286cb6dc90e1be64774c5b69b3fe6664c36f6829 [file] [log] [blame]
struct Foo {
field: i32
}
impl Foo {
fn foo<'a>(&self, x: &i32) -> &i32 {
x //~ ERROR lifetime mismatch
}
}
fn main() { }