rustc: Implement "use mod"
This commit is contained in:
parent
28b1473f84
commit
6e7d5e1cbd
8 changed files with 297 additions and 103 deletions
|
|
@ -293,7 +293,7 @@ fn map_view_item(vi: @view_item, cx: ctx, _v: vt) {
|
|||
match vi.node {
|
||||
view_item_export(vps) => for vps.each |vp| {
|
||||
let (id, name) = match vp.node {
|
||||
view_path_simple(nm, _, id) => {
|
||||
view_path_simple(nm, _, _, id) => {
|
||||
(id, /* FIXME (#2543) */ copy nm)
|
||||
}
|
||||
view_path_glob(pth, id) | view_path_list(pth, _, id) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue