]> git.lizzy.rs Git - rust.git/commit
Replace LetSyntaxTT with MacroRulesTT
authorKeegan McAllister <kmcallister@mozilla.com>
Mon, 15 Sep 2014 23:09:09 +0000 (16:09 -0700)
committerKeegan McAllister <kmcallister@mozilla.com>
Mon, 5 Jan 2015 19:38:12 +0000 (11:38 -0800)
commit5e5924b79915326d81db2aebfe73d2a20b8506f1
tree16d55df447ad54f7d8a0dff9a900d12e7b091dd1
parentd1cf1b1e6bf0b33fe3bb9fa01d9d94f797c9f9fc
Replace LetSyntaxTT with MacroRulesTT

The implementation of LetSyntaxTT was specialized to macro_rules! in various
ways. This gets rid of the false generality and simplifies the code.
src/librustc/plugin/registry.rs
src/librustc_driver/driver.rs
src/libsyntax/ext/base.rs
src/libsyntax/ext/expand.rs
src/libsyntax/ext/tt/macro_rules.rs
src/test/auxiliary/macro_crate_MacroRulesTT.rs [new file with mode: 0644]
src/test/compile-fail-fulldeps/plugin-MacroRulesTT.rs [new file with mode: 0644]