blob: 3b868555fc522a566183ffc17fb42fb59a91f92e [file] [log] [blame]
struct Foo<'a> {
data: &'a[u8],
}
impl <'a> Foo<'a>{
fn bar(self: &mut Foo) {
//~^ mismatched `self` parameter type
//~| expected struct `Foo<'a>`
//~| found struct `Foo<'_>`
//~| lifetime mismatch
//~| mismatched `self` parameter type
//~| expected struct `Foo<'a>`
//~| found struct `Foo<'_>`
//~| lifetime mismatch
}
}
fn main() {}