1 error[E0137]: multiple functions with a #[main] attribute
2 --> $DIR/multiple-main-3.rs:19:5
6 | |_- first #[main] function
8 LL | / fn main2() { //~ ERROR multiple functions with a #[main] attribute
10 | |_____^ additional #[main] function
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0137`.