]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issues/issue-87635.stderr
Rollup merge of #105784 - yanns:update_stdarch, r=Amanieu
[rust.git] / tests / ui / parser / issues / issue-87635.stderr
1 error: expected one of `->`, `where`, or `{`, found `}`
2   --> $DIR/issue-87635.rs:6:1
3    |
4 LL |     pub fn bar()
5    |            ---  - expected one of `->`, `where`, or `{`
6    |            |
7    |            while parsing this `fn`
8 LL |
9 LL | }
10    | ^ unexpected token
11
12 error: associated function in `impl` without body
13   --> $DIR/issue-87635.rs:4:5
14    |
15 LL |     pub fn bar()
16    |     ^^^^^^^^^^^^- help: provide a definition for the function: `{ <body> }`
17
18 error: aborting due to 2 previous errors
19