6 fn bar(self: &mut Foo) {
7 //~^ mismatched method receiver
8 //~| expected type `Foo<'a>`
9 //~| found type `Foo<'_>`
10 //~| lifetime mismatch
11 //~| mismatched method receiver
12 //~| expected type `Foo<'a>`
13 //~| found type `Foo<'_>`
14 //~| lifetime mismatch