Skip to content

Commit 3371a75

Browse files
committed
help with a Miri ICE
1 parent 1cff564 commit 3371a75

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_infer/src/infer

1 file changed

+1
-1
lines changed

compiler/rustc_infer/src/infer/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ impl<'tcx> TyCtxtInferExt<'tcx> for TyCtxt<'tcx> {
550550
fn infer_ctxt(self) -> InferCtxtBuilder<'tcx> {
551551
InferCtxtBuilder {
552552
tcx: self,
553-
defining_use_anchor: DefiningAnchor::Error,
553+
defining_use_anchor: DefiningAnchor::Bubble,
554554
considering_regions: true,
555555
fresh_typeck_results: None,
556556
}

0 commit comments

Comments
 (0)