| {"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: |
| |
| ``` |
| fn main() { |
| // Your program will start here. |
| println!(\"Hello world!\"); |
| } |
| ``` |
| |
| If you don't know the basics of Rust, you can go look to the Rust Book to get |
| started: https://doc.rust-lang.org/book/ |
| "},"level":"error","spans":[],"children":[{"message":"consider adding a `main` function to `$DIR/json-short.rs`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0601]: `main` function not found in crate `json_short` |
| "} |
| {"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error |
| "} |
| {"message":"For more information about this error, try `rustc --explain E0601`.","code":null,"level":"","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0601`. |
| "} |