]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #33841 - LeoTestard:macro-sequence-lhs, r=pnkfelix
authorManish Goregaokar <manishsmail@gmail.com>
Wed, 1 Jun 2016 07:27:41 +0000 (12:57 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Wed, 1 Jun 2016 07:27:41 +0000 (12:57 +0530)
Reject a LHS formed of a single sequence TT during `macro_rules!` checking.

This was already rejected during expansion. Encountering malformed LHS or RHS during expansion is now considered a bug.

Follow up to #33689.

r? @pnkfelix

Note: this can break code that defines such macros but does not use them.


Trivial merge