Skip to content

Commit

Permalink
Rollup merge of rust-lang#72495 - GuillaumeGomez:cleanup-e0601, r=Dyl…
Browse files Browse the repository at this point in the history
…an-DPC

Improve E0601 explanation

r? @Dylan-DPC
  • Loading branch information
Dylan-DPC authored May 25, 2020
2 parents 5a26be3 + d01f131 commit bc10b31
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/librustc_error_codes/error_codes/E0601.md
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down

0 comments on commit bc10b31

Please sign in to comment.