summaryrefslogtreecommitdiffstats
path: root/src/test/ui/extern/extern-main-issue-86110.stderr
blob: 18dfddc46bd366b5042e7b25c3d2359a6b04c65d (plain)
1
2
3
4
5
6
7
8
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 previous error