diff options
Diffstat (limited to 'src/test/ui/missing/missing-block-hint.stderr')
| -rw-r--r-- | src/test/ui/missing/missing-block-hint.stderr | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/ui/missing/missing-block-hint.stderr b/src/test/ui/missing/missing-block-hint.stderr index a48eff890b3..dbbfd10b795 100644 --- a/src/test/ui/missing/missing-block-hint.stderr +++ b/src/test/ui/missing/missing-block-hint.stderr @@ -2,7 +2,7 @@ error: expected `{`, found `=>` --> $DIR/missing-block-hint.rs:13:18 | LL | if (foo) => {} //~ ERROR expected `{`, found `=>` - | -- ^^ + | -- ^^ expected `{` | | | this `if` statement has a condition, but no block @@ -14,6 +14,7 @@ LL | if (foo) LL | bar; //~ ERROR expected `{`, found `bar` | ^^^- | | + | expected `{` | help: try placing this code inside a block: `{ bar; }` error: aborting due to 2 previous errors |
