No SyntaxExtension variant can modify foreign items #27126
Labels
A-syntaxext
Area: Syntax extensions
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
SyntaxExtension::MultiModifier
only visits true items, ImplItems, and TraitItems, notForeignItem
s. This makes it impossible to write syntax extensions which operate directly on foreign items (e.g. functions declared inside anextern
block).I started work on rust-lang/rfcs#1217 out of tree but hit this issue almost right away.
The text was updated successfully, but these errors were encountered: