]> git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/suggest-methods.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / suggestions / suggest-methods.stderr
1 error[E0599]: no method named `bat` found for struct `Foo` in the current scope
2 --> $DIR/suggest-methods.rs:18:7
3 |
4 LL | struct Foo;
5 | ----------- method `bat` not found for this
6 ...
7 LL | f.bat(1.0);
8 | ^^^ help: there is an associated function with a similar name: `bar`
9
10 error[E0599]: no method named `is_emtpy` found for struct `String` in the current scope
11 --> $DIR/suggest-methods.rs:21:15
12 |
13 LL | let _ = s.is_emtpy();
14 | ^^^^^^^^ help: there is an associated function with a similar name: `is_empty`
15
16 error[E0599]: no method named `count_eos` found for type `u32` in the current scope
17 --> $DIR/suggest-methods.rs:25:19
18 |
19 LL | let _ = 63u32.count_eos();
20 | ^^^^^^^^^ help: there is an associated function with a similar name: `count_zeros`
21
22 error[E0599]: no method named `count_o` found for type `u32` in the current scope
23 --> $DIR/suggest-methods.rs:28:19
24 |
25 LL | let _ = 63u32.count_o();
26 | ^^^^^^^ method not found in `u32`
27
28 error: aborting due to 4 previous errors
29
30 For more information about this error, try `rustc --explain E0599`.