Simplify shallow resolver to just fold ty/consts
This commit is contained in:
parent
3493a56529
commit
ecef296a03
13 changed files with 96 additions and 125 deletions
|
@ -162,7 +162,7 @@ fn pred_known_to_hold_modulo_regions<'tcx>(
|
|||
let errors = ocx.select_all_or_error();
|
||||
match errors.as_slice() {
|
||||
// Only known to hold if we did no inference.
|
||||
[] => infcx.shallow_resolve(goal) == goal,
|
||||
[] => infcx.resolve_vars_if_possible(goal) == goal,
|
||||
|
||||
errors => {
|
||||
debug!(?errors);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue