diff options
| author | sjwang05 <63834813+sjwang05@users.noreply.github.com> | 2023-11-11 13:39:08 -0800 |
|---|---|---|
| committer | sjwang05 <63834813+sjwang05@users.noreply.github.com> | 2023-11-11 13:39:08 -0800 |
| commit | f88cf0206faa5fb169deebbbd1024d9a0381ecd3 (patch) | |
| tree | 1c7a05b52880a5ceb6d21f5592b6c4bcd9bc1a2a /tests/ui/parser | |
| parent | a49368f00b66409ae9fcf42d52e4f8246c73c266 (diff) | |
Move unclosed delim errors to separate function
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 () = () { |
