Rollup merge of #72495 - GuillaumeGomez:cleanup-e0601, r=Dylan-DPC
Improve E0601 explanation r? @Dylan-DPC
This commit is contained in:
commit
6786c7d190
2 changed files with 6 additions and 4 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue