summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-87635.stderr
blob: 1d459f1b907ed943a40aa4e8affeade84121f409 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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