mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
Deprecate SyntaxExtension::Modifier
Replaced by SyntaxExtension::MultiModifier [breaking-change]
This commit is contained in:
parent
6f233aaa0c
commit
2e07b0d6be
@ -431,6 +431,7 @@ pub enum SyntaxExtension {
|
|||||||
|
|
||||||
/// A syntax extension that is attached to an item and modifies it
|
/// A syntax extension that is attached to an item and modifies it
|
||||||
/// in-place.
|
/// in-place.
|
||||||
|
#[deprecated="Replaced by MultiModifier"]
|
||||||
Modifier(Box<ItemModifier + 'static>),
|
Modifier(Box<ItemModifier + 'static>),
|
||||||
|
|
||||||
/// A syntax extension that is attached to an item and modifies it
|
/// A syntax extension that is attached to an item and modifies it
|
||||||
|
Loading…
Reference in New Issue
Block a user