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