Remove indexes module.

It's not useful, and only obfuscates things.
This commit is contained in:
Nicholas Nethercote 2023-11-22 08:53:45 +11:00
parent e7781c75f8
commit ca741945f4
2 changed files with 1 additions and 6 deletions

View File

@ -3,8 +3,7 @@ use rustc_middle::mir::{self, Body, Location, Terminator, TerminatorKind};
use rustc_middle::ty::TyCtxt;
use rustc_target::abi::VariantIdx;
use super::indexes::MovePathIndex;
use super::move_paths::{InitKind, LookupResult, MoveData};
use super::move_paths::{InitKind, LookupResult, MoveData, MovePathIndex};
use super::MoveDataParamEnv;
pub fn move_path_children_matching<'tcx, F>(

View File

@ -44,10 +44,6 @@ pub mod value_analysis;
fluent_messages! { "../messages.ftl" }
pub(crate) mod indexes {
pub(crate) use super::move_paths::MovePathIndex;
}
pub struct MoveDataParamEnv<'tcx> {
pub move_data: MoveData<'tcx>,
pub param_env: ty::ParamEnv<'tcx>,