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