mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
195 B
Plaintext
9 lines
195 B
Plaintext
error: the `main` function cannot be declared in an `extern` block
|
|
--> $DIR/extern-main-issue-86110.rs:4:5
|
|
|
|
|
LL | fn main();
|
|
| ^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|