Skip to content

Commit a5e144b

Browse files
committed
rustc_codegen_ssa: Fix line accidentally reverted during rebase
1 parent 9a21f6e commit a5e144b

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_codegen_ssa/mir

1 file changed

+1
-1
lines changed

src/librustc_codegen_ssa/mir/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ pub fn codegen_mir<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
156156
}).collect();
157157

158158
let (landing_pads, funclets) = create_funclets(&mir, &mut bx, &cleanup_kinds, &block_bxs);
159-
let mir_body: &mir::Body<'_> = mir.body();
159+
let mir_body: &mir::Body<'_> = *mir;
160160
let mut fx = FunctionCx {
161161
instance,
162162
mir,

0 commit comments

Comments
 (0)