Rollup merge of #72495 - GuillaumeGomez:cleanup-e0601, r=Dylan-DPC

Improve E0601 explanation

r? @Dylan-DPC
This commit is contained in:
Yuki Okushi 2020-05-29 15:07:02 +09:00 committed by GitHub
commit 6786c7d190
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View file

@ -1,5 +1,6 @@
{"message":"`main` function not found in crate `json_short`","code":{"code":"E0601","explanation":"No `main` function was found in a binary crate. To fix this error, add a
`main` function. For example:
{"message":"`main` function not found in crate `json_short`","code":{"code":"E0601","explanation":"No `main` function was found in a binary crate.
To fix this error, add a `main` function:
```
fn main() {