]> git.proxmox.com Git - rustc.git/blame - src/test/ui/error-codes/E0137.stderr
New upstream version 1.38.0+dfsg1
[rustc.git] / src / test / ui / error-codes / E0137.stderr
CommitLineData
416331ca 1error[E0137]: multiple functions with a `#[main]` attribute
0731742a 2 --> $DIR/E0137.rs:7:1
2c00a5a8 3 |
0531ce1d 4LL | fn foo() {}
416331ca 5 | ----------- first `#[main]` function
2c00a5a8 6...
0531ce1d 7LL | fn f() {}
416331ca 8 | ^^^^^^^^^ additional `#[main]` function
2c00a5a8
XL
9
10error: aborting due to previous error
11
0531ce1d 12For more information about this error, try `rustc --explain E0137`.