5 fn baz(&self, x: f64) {}
18 f.bat(1.0); //~ ERROR no method named
20 let s = "foo".to_string();
21 let _ = s.is_emtpy(); //~ ERROR no method named
23 // Generates a warning for `count_zeros()`. `count_ones()` is also a close
24 // match, but the former is closer.
25 let _ = 63u32.count_eos(); //~ ERROR no method named
27 // Does not generate a warning
28 let _ = 63u32.count_o(); //~ ERROR no method named