Skip to content

Commit ca74194

Browse files
committed
Remove indexes module.
It's not useful, and only obfuscates things.
1 parent e7781c7 commit ca74194

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

compiler/rustc_mir_dataflow/src/drop_flag_effects.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ use rustc_middle::mir::{self, Body, Location, Terminator, TerminatorKind};
33
use rustc_middle::ty::TyCtxt;
44
use rustc_target::abi::VariantIdx;
55

6-
use super::indexes::MovePathIndex;
7-
use super::move_paths::{InitKind, LookupResult, MoveData};
6+
use super::move_paths::{InitKind, LookupResult, MoveData, MovePathIndex};
87
use super::MoveDataParamEnv;
98

109
pub fn move_path_children_matching<'tcx, F>(

compiler/rustc_mir_dataflow/src/lib.rs

-4
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ pub mod value_analysis;
4444

4545
fluent_messages! { "../messages.ftl" }
4646

47-
pub(crate) mod indexes {
48-
pub(crate) use super::move_paths::MovePathIndex;
49-
}
50-
5147
pub struct MoveDataParamEnv<'tcx> {
5248
pub move_data: MoveData<'tcx>,
5349
pub param_env: ty::ParamEnv<'tcx>,

0 commit comments

Comments
 (0)