rust/src/test/ui/parser/macro-mismatched-delim-brace-paren.stderr
Esteban Kuber c6d800d854 Point at unclosed delimiters as part of the primary MultiSpan
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.
2021-08-27 14:24:47 +00:00

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