]> git.lizzy.rs Git - rust.git/commit
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)
commit4721f3a543ef00952d5ce39b64dbfe1ce57667fd
treed74e3982eac19d5b51d8b724f37cf93b7498cd8c
parentcbfe74c3c8c658fbae368ecb2c221df59541ca55
parent864b3c8017024afb99dc7f3ab0d335822934154d
Rollup merge of #33841 - LeoTestard:macro-sequence-lhs, r=pnkfelix

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.