Skip to content

Commit 2e07b0d

Browse files
committed
Deprecate SyntaxExtension::Modifier
Replaced by SyntaxExtension::MultiModifier [breaking-change]
1 parent 6f233aa commit 2e07b0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libsyntax/ext/base.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ pub enum SyntaxExtension {
431431

432432
/// A syntax extension that is attached to an item and modifies it
433433
/// in-place.
434+
#[deprecated="Replaced by MultiModifier"]
434435
Modifier(Box<ItemModifier + 'static>),
435436

436437
/// A syntax extension that is attached to an item and modifies it

0 commit comments

Comments
 (0)