- decoder::DlImpl(did) => build_impl(cx, tcx, did, impls),
- decoder::DlDef(def::DefMod(did)) => {
- csearch::each_child_of_item(&tcx.sess.cstore,
- did,
- |def, _, _| {
- populate_impls(cx, tcx, def, impls)
- })
+ mdutil::DlImpl(did) => build_impl(cx, tcx, did, impls),
+ mdutil::DlDef(def::DefMod(did)) => {
+ for item in tcx.sess.cstore.item_children(did) {
+ populate_impls(cx, tcx, item.def, impls)
+ }