E0601 - Error codes index
Description: Book listing all Rust error codes

## Keyboard shortcuts

Press `←` or `→` to navigate between chapters

Press `S` or `/` to search in the book

Press `?` to show this help

Press `Esc` to hide this help

# Error code E0601

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.