about summary refs log tree commit diff
path: root/tests/ui/parser/macro/macro-expand-to-match-arm.stderr
blob: 1b34d2d12b20445c5154b60354ea7694086f35e8 (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 1 previous error