rust/src/test/ui/macros/macro-in-expression-context-2.stderr

12 lines
347 B
Plaintext
Raw Normal View History

2018-11-23 17:37:27 -06:00
error: macro expansion ends with an incomplete expression: expected expression
--> $DIR/macro-in-expression-context-2.rs:5:16
|
LL | macro_rules! empty { () => () }
| -- in this macro arm
...
LL | _ => { empty!() }
| ^^^^^^^^ expected expression
error: aborting due to previous error