summary refs log tree commit diff
path: root/compiler/rustc_expand/src/expand.rs
diff options
context:
space:
mode:
authormaxcabrajac <max@cabrajac.com>2024-11-17 20:11:49 -0300
committermaxcabrajac <max@cabrajac.com>2024-11-20 16:42:18 -0300
commit1dc12367b9a0c3317caaad4ec1f5a8af7484cc19 (patch)
treec7ebf10caeee08f5838c4bfc083716aec5d4539f /compiler/rustc_expand/src/expand.rs
parent5c2de73700d351b5ec4182f9ea13ce4e702686b3 (diff)
downloadrust-1dc12367b9a0c3317caaad4ec1f5a8af7484cc19.tar.gz
rust-1dc12367b9a0c3317caaad4ec1f5a8af7484cc19.zip
Items
Diffstat (limited to 'compiler/rustc_expand/src/expand.rs')
-rw-r--r--compiler/rustc_expand/src/expand.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_expand/src/expand.rs b/compiler/rustc_expand/src/expand.rs
index 91786462b40..19c2d466f7c 100644
--- a/compiler/rustc_expand/src/expand.rs
+++ b/compiler/rustc_expand/src/expand.rs
@@ -1382,7 +1382,7 @@ impl InvocationCollectorNode for P<ast::ForeignItem> {
         fragment.make_foreign_items()
     }
     fn walk_flat_map<V: MutVisitor>(self, visitor: &mut V) -> Self::OutputTy {
-        walk_flat_map_item(visitor, self)
+        walk_flat_map_foreign_item(visitor, self)
     }
     fn is_mac_call(&self) -> bool {
         matches!(self.kind, ForeignItemKind::MacCall(..))