replace usages of fn_sig query with bound_fn_sig
This commit is contained in:
parent
d7948c843d
commit
e982971ff2
66 changed files with 147 additions and 113 deletions
|
@ -65,7 +65,7 @@ pub fn find_param_with_region<'tcx>(
|
|||
|
||||
let owner_id = hir.body_owner(body_id);
|
||||
let fn_decl = hir.fn_decl_by_hir_id(owner_id).unwrap();
|
||||
let poly_fn_sig = tcx.fn_sig(id);
|
||||
let poly_fn_sig = tcx.bound_fn_sig(id).subst_identity();
|
||||
|
||||
let fn_sig = tcx.liberate_late_bound_regions(id, poly_fn_sig);
|
||||
let body = hir.body(body_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue