Remove unused part of return value from replace_bound_vars_with_placeholders
This commit is contained in:
parent
1b07991574
commit
d4d9e7f67f
5 changed files with 12 additions and 20 deletions
|
@ -167,7 +167,7 @@ pub(super) fn poly_project_and_unify_type<'cx, 'tcx>(
|
|||
|
||||
let infcx = selcx.infcx();
|
||||
infcx.commit_if_ok(|_snapshot| {
|
||||
let (placeholder_predicate, _) =
|
||||
let placeholder_predicate =
|
||||
infcx.replace_bound_vars_with_placeholders(&obligation.predicate);
|
||||
|
||||
let placeholder_obligation = obligation.with(placeholder_predicate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue