Deprecate SyntaxExtension::Decorator

It has been replaced by SyntaxExtension::MultiDecorator

[breaking-change]
This commit is contained in:
Adolfo Ochagavía 2015-01-16 23:05:24 +01:00
parent f97cff9abd
commit 6f233aaa0c

View file

@ -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