Skip to content

Commit 277f06d

Browse files
committed
syntax: Add native module names correctly when building up the paths in the AST map
1 parent aa909dc commit 277f06d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/ast_map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ fn map_item(i: @item, cx: ctx, v: vt) {
211211
cx.map.insert(nitem.id,
212212
node_foreign_item(nitem, abi,
213213
/* FIXME (#2543) */
214-
@copy cx.path));
214+
extend(cx, i.ident)));
215215
}
216216
}
217217
item_class(tps, ifces, items, ctor, dtor, _) {

0 commit comments

Comments
 (0)