We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8be3764 commit f466a75Copy full SHA for f466a75
compiler/rustc_trait_selection/src/traits/mod.rs
@@ -473,9 +473,6 @@ pub fn impossible_predicates<'tcx>(
473
debug!("impossible_predicates(predicates={:?})", predicates);
474
475
let result = tcx.infer_ctxt().enter(|infcx| {
476
- // HACK: Set tainted by errors to gracefully exit in case of overflow.
477
- infcx.set_tainted_by_errors();
478
-
479
let param_env = ty::ParamEnv::reveal_all();
480
let ocx = ObligationCtxt::new(&infcx);
481
let predicates = ocx.normalize(ObligationCause::dummy(), param_env, predicates);
0 commit comments