]> git.lizzy.rs Git - rust.git/commit
Remove the Modifier and Decorator kinds of syntax extensions.
authorNick Cameron <ncameron@mozilla.com>
Tue, 1 Sep 2015 01:16:03 +0000 (13:16 +1200)
committerNick Cameron <ncameron@mozilla.com>
Tue, 1 Sep 2015 01:16:03 +0000 (13:16 +1200)
commit20e1ea2dd84d5b29414059a4e07ce7327d1bef19
tree7f03d7977c2b89ed097d6a938db2e0260e06da2a
parent8f28c9b01ee5ff7e73bb81b3364f26b6ad4060a2
Remove the Modifier and Decorator kinds of syntax extensions.

This is a [breaking-change] for syntax extension authors. The fix is to use MultiModifier or MultiDecorator, which have the same functionality but are more flexible. Users of syntax extensions are unaffected.
src/librustc/plugin/registry.rs
src/libsyntax/ext/base.rs
src/libsyntax/ext/expand.rs
src/test/auxiliary/macro_crate_test.rs
src/test/run-pass-fulldeps/macro-crate.rs