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