replace usages of fn_sig query with bound_fn_sig
This commit is contained in:
@@ -445,7 +445,7 @@ fn suggestion_signature(assoc: &ty::AssocItem, tcx: TyCtxt<'_>) -> String {
|
||||
// regions just fine, showing `fn(&MyType)`.
|
||||
fn_sig_suggestion(
|
||||
tcx,
|
||||
tcx.fn_sig(assoc.def_id).skip_binder(),
|
||||
tcx.bound_fn_sig(assoc.def_id).subst_identity().skip_binder(),
|
||||
assoc.ident(tcx),
|
||||
tcx.predicates_of(assoc.def_id),
|
||||
assoc,
|
||||
|
||||
Reference in New Issue
Block a user