9 //~^ ERROR cannot find function `cmp` in this scope
10 //~| HELP use the `.` operator to call the method `Ord::cmp` on `&{integer}`
12 let y = len([1, 2, 3]);
13 //~^ ERROR cannot find function `len` in this scope
14 //~| HELP use the `.` operator to call the method `len` on `&[{integer}]`
17 //~^ ERROR cannot find function `bar` in this scope
18 //~| HELP use the `.` operator to call the method `bar` on `Foo`