rust/tests/ui/parser/issues/issue-87635.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
500 B
Plaintext
Raw Normal View History

error: expected one of `->`, `where`, or `{`, found `}`
--> $DIR/issue-87635.rs:6:1
2021-07-30 16:09:54 -05:00
|
LL | pub fn bar()
| --- - expected one of `->`, `where`, or `{`
| |
| while parsing this `fn`
LL |
2021-07-30 16:09:54 -05:00
LL | }
| ^ unexpected token
2021-07-30 16:09:54 -05:00
error: associated function in `impl` without body
--> $DIR/issue-87635.rs:4:5
|
LL | pub fn bar()
| ^^^^^^^^^^^^- help: provide a definition for the function: `{ <body> }`
2021-07-30 16:09:54 -05:00
error: aborting due to 2 previous errors