blob: ab2f9ba5bea9f396eaad49f914049a535d9b3760 [file] [log] [blame]
error[E0137]: multiple functions with a #[main] attribute
--> $DIR/E0137.rs:17:1
|
LL | fn foo() {}
| ----------- first #[main] function
...
LL | fn f() {}
| ^^^^^^^^^ additional #[main] function
error: aborting due to previous error
For more information about this error, try `rustc --explain E0137`.