write substs for lang item paths
This commit is contained in:
parent
313e71a253
commit
7f7915347d
@ -830,6 +830,7 @@ pub(in super::super) fn resolve_lang_item_path(
|
||||
self.tcx.type_of(def_id)
|
||||
};
|
||||
let substs = self.infcx.fresh_substs_for_item(span, def_id);
|
||||
self.write_substs(hir_id, substs);
|
||||
let ty = item_ty.subst(self.tcx, substs);
|
||||
|
||||
self.write_resolution(hir_id, Ok((def_kind, def_id)));
|
||||
|
Loading…
Reference in New Issue
Block a user