Reduce build warnings

This commit is contained in:
2025-12-28 01:34:46 +09:00
parent b104d6af5f
commit 0269fc2ed4
41 changed files with 77 additions and 26 deletions

View File

@ -162,6 +162,7 @@ impl NormalizationExecuteBox {
/// Execute Phase 132-133: Loop + post assignments + return
///
/// ## Phase 141 P1.5: Added prefix_variables parameter
#[allow(dead_code)]
fn execute_loop_with_post(
builder: &mut MirBuilder,
plan: &NormalizationPlan,

View File

@ -17,6 +17,7 @@ pub struct NormalizationPlan {
/// Kind of normalization pattern detected
#[derive(Debug, Clone, PartialEq, Eq)]
#[allow(dead_code)]
pub enum PlanKind {
/// Phase 131: loop(true) { ... break } alone
///
@ -66,6 +67,7 @@ impl NormalizationPlan {
note = "Use loop_only() instead. Statement-level normalization makes this obsolete."
)]
#[allow(deprecated)]
#[allow(dead_code)]
pub fn loop_with_post(post_assign_count: usize) -> Self {
// consumed = 1 (loop) + N (assigns) + 1 (return)
let consumed = 1 + post_assign_count + 1;