Skip to content

Commit cc97eb4

Browse files
committed
crater: don't normalize where-clauses in wfcheck
1 parent 2fcbda6 commit cc97eb4

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
@@ -1518,7 +1518,6 @@ pub(super) fn check_where_clauses<'tcx>(wfcx: &WfCheckingCtxt<'_, 'tcx>, def_id:
15181518

15191519
assert_eq!(predicates.predicates.len(), predicates.spans.len());
15201520
let wf_obligations = predicates.into_iter().flat_map(|(p, sp)| {
1521-
let p = wfcx.normalize(sp, None, p);
15221521
traits::wf::clause_obligations(infcx, wfcx.param_env, wfcx.body_def_id, p, sp)
15231522
});
15241523
let obligations: Vec<_> = wf_obligations.chain(default_obligations).collect();

0 commit comments

Comments
 (0)