]> git.proxmox.com Git - rustc.git/blame - src/test/ui/suggestions/suggest-methods.stderr
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / ui / suggestions / suggest-methods.stderr
CommitLineData
dfeec247 1error[E0599]: no method named `bat` found for struct `Foo` in the current scope
0731742a 2 --> $DIR/suggest-methods.rs:18:7
ea8adc8c 3 |
0531ce1d 4LL | struct Foo;
064997fb 5 | ---------- method `bat` not found for this struct
ff7c6d11 6...
532ac7d7 7LL | f.bat(1.0);
f2b60f7d 8 | ^^^ help: there is a method with a similar name: `bar`
ea8adc8c 9
1b1a35ee 10error[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 13LL | let _ = s.is_emtpy();
f2b60f7d 14 | ^^^^^^^^ help: there is a method with a similar name: `is_empty`
ea8adc8c
XL
15
16error[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 19LL | let _ = 63u32.count_eos();
f2b60f7d 20 | ^^^^^^^^^ help: there is a method with a similar name: `count_zeros`
ea8adc8c
XL
21
22error[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 25LL | let _ = 63u32.count_o();
f2b60f7d 26 | ^^^^^^^ help: there is a method with a similar name: `count_ones`
ea8adc8c
XL
27
28error: aborting due to 4 previous errors
29
0531ce1d 30For more information about this error, try `rustc --explain E0599`.