1
Fork 0

Move fallback_has_occurred to FnCtxt

This commit is contained in:
Michael Goulet 2022-11-02 01:34:17 +00:00
parent e6fead46dc
commit bc345d7bd0
21 changed files with 52 additions and 64 deletions

View file

@ -238,7 +238,7 @@ fn do_normalize_predicates<'tcx>(
let predicates = match fully_normalize(&infcx, cause, elaborated_env, predicates) {
Ok(predicates) => predicates,
Err(errors) => {
let reported = infcx.err_ctxt().report_fulfillment_errors(&errors, None, false);
let reported = infcx.err_ctxt().report_fulfillment_errors(&errors, None);
return Err(reported);
}
};