More than one main function was found.
Erroneous code example:
fn main() {
// ...
}
// ...
fn main() { // error!
// ...
} A binary can only have one entry point, and by default that entry point is the main() function. If there are multiple instances of this function, please rename one of them.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/error_codes/E0136.html