mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 22:53:28 +00:00
Improve E0601 explanation
This commit is contained in:
parent
97f3eeec82
commit
d01f1314b7
@ -1,5 +1,6 @@
|
||||
No `main` function was found in a binary crate. To fix this error, add a
|
||||
`main` function. For example:
|
||||
No `main` function was found in a binary crate.
|
||||
|
||||
To fix this error, add a `main` function:
|
||||
|
||||
```
|
||||
fn main() {
|
||||
|
Loading…
Reference in New Issue
Block a user