Skip to content

Commit dbbffbe

Browse files
committed
rustc: Make a note of the fact that each_path doesn't handle path nesting properly
1 parent 277f06d commit dbbffbe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/rustc/metadata/decoder.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,9 @@ fn each_path(cdata: cmd, f: fn(path_entry) -> bool) {
451451

452452
// Next, go through all the paths. We will find items that we didn't know
453453
// about before (reexports in particular).
454+
//
455+
// XXX: This is broken; the paths are actually hierarchical.
456+
454457
let outer_paths = ebml::get_doc(root, tag_paths);
455458
let inner_paths = ebml::get_doc(outer_paths, tag_paths);
456459
do ebml::tagged_docs(inner_paths, tag_paths_data_item) |path_doc| {

0 commit comments

Comments
 (0)