We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d8b0e8 commit 8dc5059Copy full SHA for 8dc5059
src/comp/middle/trans.rs
@@ -5508,8 +5508,8 @@ fn collect_items(@crate_ctxt cx, @ast.crate crate) {
5508
let fold.ast_fold[@crate_ctxt] fld =
5509
fold.new_identity_fold[@crate_ctxt]();
5510
5511
- // FIXME: if ty_tag had a pointer directly to the definition instead
5512
- // of a def_id, we wouldn't need the second pass.
+ // FIXME: It might be better to use a worklist for this. An item
+ // would be added to it if it depends on a not yet seen tag for example.
5513
5514
auto fld1 =
5515
@rec( update_env_for_item = bind collect_item(_,_),
0 commit comments