summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/macro/macro-expand-to-match-arm.stderr
blob: 1a5f4696858cf9dd0de1366cedb90f6ba7811d79 (plain)
1
2
3
4
5
6
7
8
9
10
error: unexpected `,` in pattern
  --> $DIR/macro-expand-to-match-arm.rs:11:25
   |
LL |         arm!(None => {}),
   |                         ^
   |
   = note: macros cannot expand to match arms

error: aborting due to previous error