summary refs log tree commit diff
path: root/src/test/ui/parser/issues/issue-87635.stderr
blob: 0a52d0687b22beb97b2c1164ebed2c521b0910cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error: expected one of `->`, `where`, or `{`, found `}`
  --> $DIR/issue-87635.rs:6:1
   |
LL |     pub fn bar()
   |            ---  - expected one of `->`, `where`, or `{`
   |            |
   |            while parsing this `fn`
LL |
LL | }
   | ^ unexpected token

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> }`

error: aborting due to 2 previous errors