Remove ty::Binder::bind()
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
This commit is contained in:
parent
e28a93365a
commit
884053a4b4
10 changed files with 26 additions and 122 deletions
|
@ -1301,7 +1301,7 @@ fn confirm_pointee_candidate<'cx, 'tcx>(
|
|||
ty: self_ty.ptr_metadata_ty(tcx),
|
||||
};
|
||||
|
||||
confirm_param_env_candidate(selcx, obligation, ty::Binder::bind(predicate, tcx), false)
|
||||
confirm_param_env_candidate(selcx, obligation, ty::Binder::dummy(predicate), false)
|
||||
}
|
||||
|
||||
fn confirm_fn_pointer_candidate<'cx, 'tcx>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue