1 error[E0599]: no method named `bat` found for struct `Foo` in the current scope
2 --> $DIR/suggest-methods.rs:18:7
5 | ---------- method `bat` not found for this struct
8 | ^^^ help: there is a method with a similar name: `bar`
10 error[E0599]: no method named `is_emtpy` found for struct `String` in the current scope
11 --> $DIR/suggest-methods.rs:21:15
13 LL | let _ = s.is_emtpy();
14 | ^^^^^^^^ help: there is a method with a similar name: `is_empty`
16 error[E0599]: no method named `count_eos` found for type `u32` in the current scope
17 --> $DIR/suggest-methods.rs:25:19
19 LL | let _ = 63u32.count_eos();
20 | ^^^^^^^^^ help: there is a method with a similar name: `count_zeros`
22 error[E0599]: no method named `count_o` found for type `u32` in the current scope
23 --> $DIR/suggest-methods.rs:28:19
25 LL | let _ = 63u32.count_o();
26 | ^^^^^^^ help: there is a method with a similar name: `count_ones`
28 error: aborting due to 4 previous errors
30 For more information about this error, try `rustc --explain E0599`.