fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
500 B19 linesraw
1error: expected one of `->`, `where`, or `{`, found `}`
2  --> $DIR/issue-87635.rs:6:1
3   |
4LL |     pub fn bar()
5   |            ---  - expected one of `->`, `where`, or `{`
6   |            |
7   |            while parsing this `fn`
8LL |
9LL | }
10   | ^ unexpected token
11
12error: associated function in `impl` without body
13  --> $DIR/issue-87635.rs:4:5
14   |
15LL |     pub fn bar()
16   |     ^^^^^^^^^^^^- help: provide a definition for the function: `{ <body> }`
17
18error: aborting due to 2 previous errors
19