]>
Commit | Line | Data |
---|---|---|
9fa01778 XL |
1 | error: expected one of `)` or `,`, found `->` |
2 | --> $DIR/issue-58856-2.rs:6:26 | |
3 | | | |
4 | LL | fn how_are_you(&self -> Empty { | |
5 | | - -^^ | |
6 | | | | | |
7 | | | help: `)` may belong here | |
8 | | unclosed delimiter | |
9 | ||
10 | error: expected one of `async`, `const`, `crate`, `default`, `existential`, `extern`, `fn`, `pub`, `type`, `unsafe`, or `}`, found `)` | |
11 | --> $DIR/issue-58856-2.rs:11:1 | |
12 | | | |
13 | LL | } | |
14 | | - expected one of 11 possible tokens here | |
15 | LL | } | |
16 | | ^ unexpected token | |
17 | ||
18 | error[E0407]: method `how_are_you` is not a member of trait `Howness` | |
19 | --> $DIR/issue-58856-2.rs:6:5 | |
20 | | | |
21 | LL | / fn how_are_you(&self -> Empty { | |
532ac7d7 XL |
22 | LL | | |
23 | LL | | | |
9fa01778 XL |
24 | LL | | Empty |
25 | LL | | } | |
26 | | |_____^ not a member of trait `Howness` | |
27 | ||
28 | error: aborting due to 3 previous errors | |
29 | ||
30 | For more information about this error, try `rustc --explain E0407`. |