]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-58856-2.stderr
New upstream version 1.38.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-58856-2.stderr
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`, `extern`, `fn`, `pub`, `type`, `unsafe`, or `}`, found `)`
11 --> $DIR/issue-58856-2.rs:11:1
12 |
13 LL | }
14 | - expected one of 10 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 {
22 LL | |
23 LL | |
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`.