change usages of type_of to bound_type_of
This commit is contained in:
parent
9a7cc6c32f
commit
d822b97a27
136 changed files with 385 additions and 262 deletions
|
@ -498,7 +498,8 @@ impl<'tcx> Collector<'tcx> {
|
|||
fn i686_arg_list_size(&self, item: &hir::ForeignItemRef) -> usize {
|
||||
let argument_types: &List<Ty<'_>> = self.tcx.erase_late_bound_regions(
|
||||
self.tcx
|
||||
.type_of(item.id.owner_id)
|
||||
.bound_type_of(item.id.owner_id)
|
||||
.subst_identity()
|
||||
.fn_sig(self.tcx)
|
||||
.inputs()
|
||||
.map_bound(|slice| self.tcx.mk_type_list(slice.iter())),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue