summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/macro-mismatched-delim-paren-brace.stderr
blob: 967a3e6fdc11b76a56a6f6cf88cf6eba459ad50a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
error: unexpected closing delimiter: `}`
  --> $DIR/macro-mismatched-delim-paren-brace.rs:5:1
   |
LL | fn main() {
   |           - this opening brace...
...
LL |     }
   |     - ...matches this closing brace
LL | }
   | ^ unexpected closing delimiter

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: aborting due to 2 previous errors