Skip to content

Commit

Permalink
Deprecate SyntaxExtension::Decorator
Browse files Browse the repository at this point in the history
It has been replaced by SyntaxExtension::MultiDecorator

[breaking-change]
  • Loading branch information
aochagavia committed Jan 31, 2015
1 parent f97cff9 commit 6f233aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libsyntax/ext/base.rs
Expand Up @@ -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
Expand Down

0 comments on commit 6f233aa

Please sign in to comment.