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
|
@ -2599,7 +2599,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
|
|||
match ty.kind() {
|
||||
ty::FnDef(_, _) | ty::FnPtr(_) => self.annotate_fn_sig(
|
||||
self.mir_def_id(),
|
||||
self.infcx.tcx.fn_sig(self.mir_def_id()),
|
||||
self.infcx.tcx.bound_fn_sig(self.mir_def_id().into()).subst_identity(),
|
||||
),
|
||||
_ => None,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue