]>
Commit | Line | Data |
---|---|---|
dfeec247 | 1 | error[E0599]: no method named `bat` found for struct `Foo` in the current scope |
0731742a | 2 | --> $DIR/suggest-methods.rs:18:7 |
ea8adc8c | 3 | | |
0531ce1d | 4 | LL | struct Foo; |
064997fb | 5 | | ---------- method `bat` not found for this struct |
ff7c6d11 | 6 | ... |
532ac7d7 | 7 | LL | f.bat(1.0); |
f2b60f7d | 8 | | ^^^ help: there is a method with a similar name: `bar` |
ea8adc8c | 9 | |
1b1a35ee | 10 | error[E0599]: no method named `is_emtpy` found for struct `String` in the current scope |
0731742a | 11 | --> $DIR/suggest-methods.rs:21:15 |
ea8adc8c | 12 | | |
532ac7d7 | 13 | LL | let _ = s.is_emtpy(); |
f2b60f7d | 14 | | ^^^^^^^^ help: there is a method with a similar name: `is_empty` |
ea8adc8c XL |
15 | |
16 | error[E0599]: no method named `count_eos` found for type `u32` in the current scope | |
0731742a | 17 | --> $DIR/suggest-methods.rs:25:19 |
ea8adc8c | 18 | | |
532ac7d7 | 19 | LL | let _ = 63u32.count_eos(); |
f2b60f7d | 20 | | ^^^^^^^^^ help: there is a method with a similar name: `count_zeros` |
ea8adc8c XL |
21 | |
22 | error[E0599]: no method named `count_o` found for type `u32` in the current scope | |
0731742a | 23 | --> $DIR/suggest-methods.rs:28:19 |
ea8adc8c | 24 | | |
532ac7d7 | 25 | LL | let _ = 63u32.count_o(); |
f2b60f7d | 26 | | ^^^^^^^ help: there is a method with a similar name: `count_ones` |
ea8adc8c XL |
27 | |
28 | error: aborting due to 4 previous errors | |
29 | ||
0531ce1d | 30 | For more information about this error, try `rustc --explain E0599`. |