-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-syntaxextArea: Syntax extensionsArea: Syntax extensionsC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.
Description
SyntaxExtension::MultiModifier
only visits true items, ImplItems, and TraitItems, not ForeignItem
s. This makes it impossible to write syntax extensions which operate directly on foreign items (e.g. functions declared inside an extern
block).
I started work on rust-lang/rfcs#1217 out of tree but hit this issue almost right away.
Metadata
Metadata
Assignees
Labels
A-syntaxextArea: Syntax extensionsArea: Syntax extensionsC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.