about summary refs log tree commit diff
path: root/src/test/compile-fail/const-block-non-item-statement.rs
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2015-01-02 14:44:21 -0800
committerKeegan McAllister <kmcallister@mozilla.com>2015-01-05 18:21:14 -0800
commit416137eb3186c05b7a601e94cde354e9b3ec0a78 (patch)
tree260833d9b39aeb89c395722fb43c8b51f8dcd3a2 /src/test/compile-fail/const-block-non-item-statement.rs
parentc9f0ff3813a662197e262e64edb8302d2b4a3e75 (diff)
downloadrust-416137eb3186c05b7a601e94cde354e9b3ec0a78.tar.gz
rust-416137eb3186c05b7a601e94cde354e9b3ec0a78.zip
Modernize macro_rules! invocations
macro_rules! is like an item that defines a macro.  Other items don't have a
trailing semicolon, or use a paren-delimited body.

If there's an argument for matching the invocation syntax, e.g. parentheses for
an expr macro, then I think that applies more strongly to the *inner*
delimiters on the LHS, wrapping the individual argument patterns.
Diffstat (limited to 'src/test/compile-fail/const-block-non-item-statement.rs')
0 files changed, 0 insertions, 0 deletions