No main function was found in a binary crate.
To fix this error, add a main function:
fn main() {
// Your program will start here.
println!("Hello world!");
} If you don't know the basics of Rust, you can look at the Rust Book to get started.
© 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/E0601.html