From 277f06dbb829fdd63ee69a922a7d2a7284d38f6a Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Tue, 3 Jul 2012 18:25:50 -0700 Subject: [PATCH] syntax: Add native module names correctly when building up the paths in the AST map --- src/libsyntax/ast_map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsyntax/ast_map.rs b/src/libsyntax/ast_map.rs index bd910058971e..4974b07503ef 100644 --- a/src/libsyntax/ast_map.rs +++ b/src/libsyntax/ast_map.rs @@ -211,7 +211,7 @@ fn map_item(i: @item, cx: ctx, v: vt) { cx.map.insert(nitem.id, node_foreign_item(nitem, abi, /* FIXME (#2543) */ - @copy cx.path)); + extend(cx, i.ident))); } } item_class(tps, ifces, items, ctor, dtor, _) {