]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/issues/issue-58856-2.stderr
New upstream version 1.58.1+dfsg1
[rustc.git] / src / test / ui / parser / issues / issue-58856-2.stderr
1 error: expected one of `)` or `,`, found `->`
2 --> $DIR/issue-58856-2.rs:6:19
3 |
4 LL | fn how_are_you(&self -> Empty {
5 | ^ -^^
6 | | |
7 | | help: `)` may belong here
8 | unclosed delimiter
9
10 error: non-item in item list
11 --> $DIR/issue-58856-2.rs:11:1
12 |
13 LL | impl Howness for () {
14 | - item list starts here
15 ...
16 LL | }
17 | ^
18 | |
19 | non-item starts here
20 | item list ends here
21
22 error[E0407]: method `how_are_you` is not a member of trait `Howness`
23 --> $DIR/issue-58856-2.rs:6:5
24 |
25 LL | / fn how_are_you(&self -> Empty {
26 LL | |
27 LL | |
28 LL | | Empty
29 LL | | }
30 | |_____^ not a member of trait `Howness`
31
32 error: aborting due to 3 previous errors
33
34 For more information about this error, try `rustc --explain E0407`.