chore: 未使用インポートの削除と軽微な警告修正

This commit is contained in:
Selfhosting Dev
2025-09-16 04:23:20 +09:00
parent edd95406aa
commit 18bc386bc5
10 changed files with 15 additions and 18 deletions

View File

@ -597,7 +597,7 @@ fn lower_args(f: &mut MirFunction, cur_bb: BasicBlockId, args: &[ExprV0]) -> Res
pub fn maybe_dump_mir(module: &MirModule) {
if std::env::var("NYASH_CLI_VERBOSE").ok().as_deref() == Some("1") {
let mut p = MirPrinter::new();
let p = MirPrinter::new();
println!("{}", p.print_module(module));
}
}