rust/tests/ui/parser/macro/macro-expand-to-match-arm.stderr

11 lines
237 B
Plaintext
Raw Normal View History

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