]> git.lizzy.rs Git - rust.git/commit
Auto merge of #33713 - LeoTestard:macro-rules-invalid-lhs, r=pnkfelix
authorbors <bors@rust-lang.org>
Wed, 25 May 2016 16:40:06 +0000 (09:40 -0700)
committerbors <bors@rust-lang.org>
Wed, 25 May 2016 16:40:06 +0000 (09:40 -0700)
commitda66f2fd8cab261911163ece04d5c15a13cf5e58
treec1ac2626eb06b55e39e806942a73c3c183618020
parent5229e0efb34f924346febcfe158973486dabdf83
parent7d521445fd47d8403b63c36b712d0238b62a8771
Auto merge of #33713 - LeoTestard:macro-rules-invalid-lhs, r=pnkfelix

Make sure that macros that didn't pass LHS checking are not expanded.

This avoid duplicate errors for things like invalid fragment specifiers, or
parsing errors for ambiguous macros.