mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
14 lines
243 B
Plaintext
14 lines
243 B
Plaintext
error: missing `fn` for function definition
|
|
--> $DIR/missing-fn-issue-65381-1.rs:1:1
|
|
|
|
|
LL | main() {
|
|
| ^^^^
|
|
|
|
|
help: add `fn` here to parse `main` as a function
|
|
|
|
|
LL | fn main() {
|
|
| ++
|
|
|
|
error: aborting due to 1 previous error
|
|
|