chore(fmt): add legacy stubs and strip trailing whitespace to unblock cargo fmt

This commit is contained in:
Selfhosting Dev
2025-09-17 07:43:07 +09:00
parent fcf8ce1f3c
commit adbb0201a9
385 changed files with 35622 additions and 15004 deletions

View File

@ -1,8 +1,12 @@
//! Small loop utilities for MirBuilder
use super::{BasicBlockId};
use super::BasicBlockId;
/// Push loop context (header/exit) onto the MirBuilder stacks.
pub(crate) fn push_loop_context(builder: &mut super::MirBuilder, header: BasicBlockId, exit: BasicBlockId) {
pub(crate) fn push_loop_context(
builder: &mut super::MirBuilder,
header: BasicBlockId,
exit: BasicBlockId,
) {
builder.loop_header_stack.push(header);
builder.loop_exit_stack.push(exit);
}