diff options
Diffstat (limited to 'tests/ui/parser')
| -rw-r--r-- | tests/ui/parser/brace-in-let-chain.stderr | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/tests/ui/parser/brace-in-let-chain.stderr b/tests/ui/parser/brace-in-let-chain.stderr index c43310f4736..7182d86d001 100644 --- a/tests/ui/parser/brace-in-let-chain.stderr +++ b/tests/ui/parser/brace-in-let-chain.stderr @@ -38,12 +38,9 @@ error: found a `{` in the middle of a let-chain | LL | && let () = () { | ^ - | -note: you might have meant to continue the let-chain here - --> $DIR/brace-in-let-chain.rs:15:9 - | LL | && let () = () - | ^^^^^^ + | ------ you might have meant to continue the let-chain here + | help: consider removing this brace to parse the `let` as part of the same chain | LL - && let () = () { @@ -55,12 +52,9 @@ error: found a `{` in the middle of a let-chain | LL | && let () = () { | ^ - | -note: you might have meant to continue the let-chain here - --> $DIR/brace-in-let-chain.rs:7:9 - | LL | && let () = () - | ^^^^^^ + | ------ you might have meant to continue the let-chain here + | help: consider removing this brace to parse the `let` as part of the same chain | LL - && let () = () { |
