Rename At::normalize to At::query_normalize
This commit is contained in:
@@ -29,7 +29,7 @@ fn try_normalize_after_erasing_regions<'tcx, T: TypeFoldable<'tcx> + PartialEq +
|
||||
let ParamEnvAnd { param_env, value } = goal;
|
||||
let infcx = tcx.infer_ctxt().build();
|
||||
let cause = ObligationCause::dummy();
|
||||
match infcx.at(&cause, param_env).normalize(value) {
|
||||
match infcx.at(&cause, param_env).query_normalize(value) {
|
||||
Ok(Normalized { value: normalized_value, obligations: normalized_obligations }) => {
|
||||
// We don't care about the `obligations`; they are
|
||||
// always only region relations, and we are about to
|
||||
|
||||
Reference in New Issue
Block a user