diff options
| author | Camille Gillot <gillot.camille@gmail.com> | 2025-09-23 20:38:38 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-23 20:38:38 -0300 |
| commit | ce677c7db80a245e1eee5b948dd6b20b4bba0423 (patch) | |
| tree | a1b82a63eeb02e94f9f36fa62dc404c1553d36a1 /compiler/rustc_mir_transform/src/patch.rs | |
| parent | 3c232fe38f1629ae469ee97455ce0be07a1ae8ae (diff) | |
| download | rust-ce677c7db80a245e1eee5b948dd6b20b4bba0423.tar.gz rust-ce677c7db80a245e1eee5b948dd6b20b4bba0423.zip | |
Update compiler/rustc_mir_transform/src/patch.rs
Co-authored-by: lcnr <rust@lcnr.de>
Diffstat (limited to 'compiler/rustc_mir_transform/src/patch.rs')
| -rw-r--r-- | compiler/rustc_mir_transform/src/patch.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_mir_transform/src/patch.rs b/compiler/rustc_mir_transform/src/patch.rs index 8f212440565..d831ab50b1a 100644 --- a/compiler/rustc_mir_transform/src/patch.rs +++ b/compiler/rustc_mir_transform/src/patch.rs @@ -23,6 +23,8 @@ pub(crate) struct MirPatch<'tcx> { terminate_block: Option<(BasicBlock, UnwindTerminateReason)>, body_span: Span, next_local: usize, + /// The number of blocks at the start of the transformation. New blocks + /// get appended at the end. next_block: usize, } |
