Reduce build warnings
This commit is contained in:
@ -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,
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user