diff options
| -rw-r--r-- | compiler/rustc_parse/src/parser/stmt.rs | 4 | ||||
| -rw-r--r-- | tests/ui/let-else/let-else-if.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/lint/issue-104392.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/missing/missing-block-hint.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/parser/bad-if-statements.stderr | 4 | ||||
| -rw-r--r-- | tests/ui/parser/block-no-opening-brace.stderr | 6 | ||||
| -rw-r--r-- | tests/ui/parser/closure-return-syntax.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/parser/else-no-if.stderr | 8 | ||||
| -rw-r--r-- | tests/ui/parser/label-after-block-like.stderr | 14 | ||||
| -rw-r--r-- | tests/ui/unsafe/unsafe-block-without-braces.stderr | 2 |
10 files changed, 23 insertions, 23 deletions
diff --git a/compiler/rustc_parse/src/parser/stmt.rs b/compiler/rustc_parse/src/parser/stmt.rs index e8877b8c541..4ab056a4e13 100644 --- a/compiler/rustc_parse/src/parser/stmt.rs +++ b/compiler/rustc_parse/src/parser/stmt.rs @@ -581,7 +581,7 @@ impl<'a> Parser<'a> { { // These are more likely to have been meant as a block body. e.multipart_suggestion( - "try placing this code inside a block", + "you might have meant to write this as part of a block", vec