Resolve prefix in imports with empty braces

This commit is contained in:
Vadim Petrochenkov
2015-09-16 00:50:50 +03:00
parent 357982fae4
commit c3f53d1b12
6 changed files with 74 additions and 10 deletions

View File

@@ -224,8 +224,7 @@ pub fn walk_item<'v, V: Visitor<'v>>(visitor: &mut V, item: &'v Item) {
visitor.visit_path_list_item(prefix, item)
}
} else {
// FIXME(#28388) visit_path should be used instead of walk_path
walk_path(visitor, prefix);
visitor.visit_path(prefix, item.id);
}
}
}