]> git.lizzy.rs Git - rust.git/commit
Remove BasicMacroExpander and BasicIdentMacroExpander
authorSteven Fackler <sfackler@gmail.com>
Thu, 11 Sep 2014 03:59:26 +0000 (20:59 -0700)
committerSteven Fackler <sfackler@gmail.com>
Thu, 11 Sep 2014 04:02:39 +0000 (21:02 -0700)
commit200a08fc212374f5650c54489ae26f995c60bad9
tree0ea53a5c76cd2ec43b5bb2a125ec156de1967313
parent313cb8acaea05e703441bd5adb92aacce5bf6411
Remove BasicMacroExpander and BasicIdentMacroExpander

The spans inside of these types were always None and never used. Pass
the expander function directly instead of wrapping it in one of these
types.

[breaking-change]
src/librustc/plugin/registry.rs
src/libsyntax/ext/base.rs