Skip to content

Commit ce677c7

Browse files
cjgillotlcnr
andauthored
Update compiler/rustc_mir_transform/src/patch.rs
Co-authored-by: lcnr <rust@lcnr.de>
1 parent 3c232fe commit ce677c7

File tree

1 file changed

+2
-0
lines changed
  • compiler/rustc_mir_transform/src

1 file changed

+2
-0
lines changed

compiler/rustc_mir_transform/src/patch.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ pub(crate) struct MirPatch<'tcx> {
2323
terminate_block: Option<(BasicBlock, UnwindTerminateReason)>,
2424
body_span: Span,
2525
next_local: usize,
26+
/// The number of blocks at the start of the transformation. New blocks
27+
/// get appended at the end.
2628
next_block: usize,
2729
}
2830

0 commit comments

Comments
 (0)