mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-05 03:23:25 +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
|
No `main` function was found in a binary crate.
|
||||||
`main` function. For example:
|
|
||||||
|
To fix this error, add a `main` function:
|
||||||
|
|
||||||
```
|
```
|
||||||
fn main() {
|
fn main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user