Update compiler/rustc_mir_transform/src/patch.rs

Co-authored-by: lcnr <rust@lcnr.de>
This commit is contained in:
Camille Gillot 2025-09-23 20:38:38 -03:00 committed by GitHub
parent 3c232fe38f
commit ce677c7db8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,
}