c6d800d854
Both the place where the parser encounters a needed closed delimiter and the unclosed opening delimiter are important, so they should get the same level of highlighting in the output.
12 lines
274 B
Plaintext
12 lines
274 B
Plaintext
error: mismatched closing delimiter: `)`
|
|
--> $DIR/macro-mismatched-delim-brace-paren.rs:4:10
|
|
|
|
|
LL | foo! {
|
|
| ^ unclosed delimiter
|
|
LL | bar, "baz", 1, 2.0
|
|
LL | )
|
|
| ^ mismatched closing delimiter
|
|
|
|
error: aborting due to previous error
|
|
|