]>
Commit | Line | Data |
---|---|---|
416331ca | 1 | error[E0137]: multiple functions with a `#[main]` attribute |
0731742a | 2 | --> $DIR/E0137.rs:7:1 |
2c00a5a8 | 3 | | |
0531ce1d | 4 | LL | fn foo() {} |
416331ca | 5 | | ----------- first `#[main]` function |
2c00a5a8 | 6 | ... |
0531ce1d | 7 | LL | fn f() {} |
416331ca | 8 | | ^^^^^^^^^ additional `#[main]` function |
2c00a5a8 XL |
9 | |
10 | error: aborting due to previous error | |
11 | ||
0531ce1d | 12 | For more information about this error, try `rustc --explain E0137`. |