refactor(rustc_middle): Substs -> GenericArg
This commit is contained in:
@@ -480,7 +480,7 @@ impl<'tcx> Collector<'tcx> {
|
||||
let argument_types: &List<Ty<'_>> = self.tcx.erase_late_bound_regions(
|
||||
self.tcx
|
||||
.type_of(item.id.owner_id)
|
||||
.subst_identity()
|
||||
.instantiate_identity()
|
||||
.fn_sig(self.tcx)
|
||||
.inputs()
|
||||
.map_bound(|slice| self.tcx.mk_type_list(slice)),
|
||||
|
||||
Reference in New Issue
Block a user