diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-12-06 23:23:30 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-12-23 13:42:25 +0100 |
| commit | 44ff4df49dfbff2d21999ec9360ed8df655a6d9b (patch) | |
| tree | af62c5be9a100517fbd4b794c7a0946e1c97d413 /src/test/ui/missing | |
| parent | 7262dcc4a78a4e63db29410365fe7d47f2b56fd0 (diff) | |
| download | rust-44ff4df49dfbff2d21999ec9360ed8df655a6d9b.tar.gz rust-44ff4df49dfbff2d21999ec9360ed8df655a6d9b.zip | |
more recovery in if-parsing
Diffstat (limited to 'src/test/ui/missing')
| -rw-r--r-- | src/test/ui/missing/missing-block-hint.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/missing/missing-block-hint.stderr b/src/test/ui/missing/missing-block-hint.stderr index ee86a3241e8..0f635817bf4 100644 --- a/src/test/ui/missing/missing-block-hint.stderr +++ b/src/test/ui/missing/missing-block-hint.stderr @@ -4,13 +4,13 @@ error: expected `{`, found `=>` LL | if (foo) => {} | -- ^^ expected `{` | | - | this `if` statement has a condition, but no block + | this `if` expression has a condition, but no block error: expected `{`, found `bar` --> $DIR/missing-block-hint.rs:7:13 | LL | if (foo) - | -- this `if` statement has a condition, but no block + | -- this `if` expression has a condition, but no block LL | bar; | ^^^- | | |
