Skip to content

Commit d33eb49

Browse files
committed
Remove an unnecessary method.
Because the default method is also a no-op.
1 parent e8c947e commit d33eb49

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

compiler/rustc_mir_dataflow/src/value_analysis.rs

+1-9
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ use tracing::debug;
5151

5252
use crate::fmt::DebugWithContext;
5353
use crate::lattice::{HasBottom, HasTop};
54-
use crate::{Analysis, JoinSemiLattice, SwitchIntEdgeEffects};
54+
use crate::{Analysis, JoinSemiLattice};
5555

5656
pub trait ValueAnalysis<'tcx> {
5757
/// For each place of interest, the analysis tracks a value of the given type.
@@ -386,14 +386,6 @@ impl<'tcx, T: ValueAnalysis<'tcx>> Analysis<'tcx> for ValueAnalysisWrapper<T> {
386386
self.0.handle_call_return(return_places, state)
387387
}
388388
}
389-
390-
fn apply_switch_int_edge_effects(
391-
&self,
392-
_block: BasicBlock,
393-
_discr: &Operand<'tcx>,
394-
_apply_edge_effects: &mut impl SwitchIntEdgeEffects<Self::Domain>,
395-
) {
396-
}
397389
}
398390

399391
rustc_index::newtype_index!(

0 commit comments

Comments
 (0)