We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9c7dc3e + 2c5d370 commit 8f3f498Copy full SHA for 8f3f498
compiler/rustc_expand/src/base.rs
@@ -676,8 +676,13 @@ pub enum SyntaxExtensionKind {
676
677
/// A token-based derive macro.
678
Derive(
679
- /// An expander with signature TokenStream -> TokenStream (not yet).
+ /// An expander with signature TokenStream -> TokenStream.
680
/// The produced TokenSteam is appended to the input TokenSteam.
681
+ ///
682
+ /// FIXME: The text above describes how this should work. Currently it
683
+ /// is handled identically to `LegacyDerive`. It should be migrated to
684
+ /// a token-based representation like `Bang` and `Attr`, instead of
685
+ /// using `MultiItemModifier`.
686
Box<dyn MultiItemModifier + sync::Sync + sync::Send>,
687
),
688
0 commit comments