about summary refs log tree commit diff
path: root/tests/ui/suggestions/missing-semicolon.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/suggestions/missing-semicolon.stderr')
-rw-r--r--tests/ui/suggestions/missing-semicolon.stderr14
1 files changed, 12 insertions, 2 deletions
diff --git a/tests/ui/suggestions/missing-semicolon.stderr b/tests/ui/suggestions/missing-semicolon.stderr
index 54a64f664b5..86404e4511c 100644
--- a/tests/ui/suggestions/missing-semicolon.stderr
+++ b/tests/ui/suggestions/missing-semicolon.stderr
@@ -2,17 +2,27 @@ error: expected `;`, found `}`
   --> $DIR/missing-semicolon.rs:6:7
    |
 LL |     ()
-   |       ^ help: add `;` here
+   |       ^
 LL | }
    | - unexpected token
+   |
+help: add `;` here
+   |
+LL |     ();
+   |       +
 
 error: expected `;`, found `}`
   --> $DIR/missing-semicolon.rs:32:7
    |
 LL |     ()
-   |       ^ help: add `;` here
+   |       ^
 LL | }
    | - unexpected token
+   |
+help: add `;` here
+   |
+LL |     ();
+   |       +
 
 error[E0618]: expected function, found `{integer}`
   --> $DIR/missing-semicolon.rs:5:13