Skip to content

Commit 675d379

Browse files
committed
crater: don't normalize where-clauses in wfcheck
1 parent 90b6588 commit 675d379

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/rustc_hir_analysis/src/check/wfcheck.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1500,7 +1500,6 @@ pub(super) fn check_where_clauses<'tcx>(wfcx: &WfCheckingCtxt<'_, 'tcx>, def_id:
15001500

15011501
assert_eq!(predicates.predicates.len(), predicates.spans.len());
15021502
let wf_obligations = predicates.into_iter().flat_map(|(p, sp)| {
1503-
let p = wfcx.normalize(sp, None, p);
15041503
traits::wf::clause_obligations(infcx, wfcx.param_env, wfcx.body_def_id, p, sp)
15051504
});
15061505
let obligations: Vec<_> = wf_obligations.chain(default_obligations).collect();

0 commit comments

Comments
 (0)