mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
14 lines
254 B
Plaintext
14 lines
254 B
Plaintext
|
error: missing `fn` or `struct` for function or struct definition
|
||
|
--> $DIR/missing-fn-issue-65381-2.rs:1:1
|
||
|
|
|
||
|
LL | main();
|
||
|
| ^^^^
|
||
|
|
|
||
|
help: if you meant to call a macro, try
|
||
|
|
|
||
|
LL | main!();
|
||
|
| ~~~~~
|
||
|
|
||
|
error: aborting due to 1 previous error
|
||
|
|