summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/macro-mismatched-delim-paren-brace.stderr
blob: 34217e21ae95ef582c3420c92caeabebd75e2546 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
error: mismatched closing delimiter: `}`
  --> $DIR/macro-mismatched-delim-paren-brace.rs:2:10
   |
LL |     foo! (
   |          ^ unclosed delimiter
LL |         bar, "baz", 1, 2.0
LL |     }
   |     ^ mismatched closing delimiter

error: unexpected closing delimiter: `}`
  --> $DIR/macro-mismatched-delim-paren-brace.rs:5:1
   |
LL | fn main() {
   |           - this delimiter might not be properly closed...
...
LL |     }
   |     - ...as it matches this but it has different indentation
LL | }
   | ^ unexpected closing delimiter

error: aborting due to 2 previous errors