diff options
| author | Adolfo OchagavĂa <aochagavia92@gmail.com> | 2015-01-16 23:05:24 +0100 |
|---|---|---|
| committer | Adolfo OchagavĂa <aochagavia92@gmail.com> | 2015-01-31 11:38:47 +0100 |
| commit | 6f233aaa0c743cc6ca7e42d7dcd4b7d92ef4ad9a (patch) | |
| tree | 25cd9154fdacbdb440ae1e8b4b8b49f230a68ac2 | |
| parent | f97cff9abd4ea7a7a8ac24bb9afb09eb271bcda9 (diff) | |
| download | rust-6f233aaa0c743cc6ca7e42d7dcd4b7d92ef4ad9a.tar.gz rust-6f233aaa0c743cc6ca7e42d7dcd4b7d92ef4ad9a.zip | |
Deprecate SyntaxExtension::Decorator
It has been replaced by SyntaxExtension::MultiDecorator [breaking-change]
| -rw-r--r-- | src/libsyntax/ext/base.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/ext/base.rs b/src/libsyntax/ext/base.rs index 7d802d953b3..b63678881f6 100644 --- a/src/libsyntax/ext/base.rs +++ b/src/libsyntax/ext/base.rs @@ -420,6 +420,7 @@ impl MacResult for DummyResult { pub enum SyntaxExtension { /// A syntax extension that is attached to an item and creates new items /// based upon it. + #[deprecated="Replaced by MultiDecorator"] Decorator(Box<ItemDecorator + 'static>), /// A syntax extension that is attached to an item and creates new items |
