blob: 2a92e0062cb9a631d87bec44de4d31873dd04e62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
error: missing `fn` for function definition
--> $DIR/missing-fn-issue-125446.rs:1:1
|
LL | whoops() {}
| ^^^^^^
|
help: add `fn` here to parse `whoops` as a function
|
LL | fn whoops() {}
| ++
error: aborting due to 1 previous error
|