Deprecate SyntaxExtension::Decorator
It has been replaced by SyntaxExtension::MultiDecorator [breaking-change]
This commit is contained in:
parent
f97cff9abd
commit
6f233aaa0c
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue