about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/test/ui/json-short.stderr5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/ui/json-short.stderr b/src/test/ui/json-short.stderr
index 60c2582b11e..3bd85b083d0 100644
--- a/src/test/ui/json-short.stderr
+++ b/src/test/ui/json-short.stderr
@@ -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() {