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