Skip to content

Commit fc830ab

Browse files
committed
Remove diverge_from
1 parent 8f8092c commit fc830ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_mir_build/src/build/expr/as_rvalue.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
136136
fn_span: expr_span,
137137
},
138138
);
139-
this.diverge_from(block);
139+
// FIXME(nbdd0121): add this back when oom=panic is implemented.
140+
// this.diverge_from(block);
140141
block = success;
141142

142143
// The `Box<T>` temporary created here is not a part of the HIR,

0 commit comments

Comments
 (0)