blob: d489e34b8756c1df7510f4fe57f1e62c640b2c28 [file] [log] [blame]
error[E0137]: multiple functions with a #[main] attribute
--> $DIR/multiple-main-3.rs:19:5
|
LL | / fn main1() {
LL | | }
| |_- first #[main] function
...
LL | / fn main2() { //~ ERROR multiple functions with a #[main] attribute
LL | | }
| |_____^ additional #[main] function
error: aborting due to previous error
For more information about this error, try `rustc --explain E0137`.