6 //~^ ERROR cannot find function `bar` in this scope
7 //~| HELP try calling `bar` as a method
10 //~^ ERROR cannot find function `bar` in this scope
11 //~| HELP try calling `bar` as a method
13 bar(&mut self, 102, &"str");
14 //~^ ERROR cannot find function `bar` in this scope
15 //~| HELP try calling `bar` as a method
18 //~^ ERROR cannot find function `bar` in this scope
21 //~^ ERROR no method named `bar` found for reference