Skip to content

Commit

Permalink
Condense use rustc_* declarations.
Browse files Browse the repository at this point in the history
No reason to have two of them listed separately, after modules.
  • Loading branch information
nnethercote committed Aug 30, 2024
1 parent 016a2e3 commit 016a709
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions compiler/rustc_mir_transform/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ extern crate tracing;

use hir::ConstContext;
use required_consts::RequiredConstsVisitor;
use rustc_const_eval::check_consts::{self, ConstCx};
use rustc_const_eval::util;
use rustc_data_structures::fx::FxIndexSet;
use rustc_data_structures::steal::Steal;
Expand All @@ -34,6 +35,7 @@ use rustc_middle::mir::{
use rustc_middle::ty::{self, TyCtxt, TypeVisitableExt};
use rustc_middle::util::Providers;
use rustc_middle::{bug, query, span_bug};
use rustc_mir_dataflow::rustc_peek;
use rustc_span::source_map::Spanned;
use rustc_span::{sym, DUMMY_SP};
use rustc_trait_selection::traits;
Expand Down Expand Up @@ -108,9 +110,6 @@ mod unreachable_enum_branching;
mod unreachable_prop;
mod validate;

use rustc_const_eval::check_consts::{self, ConstCx};
use rustc_mir_dataflow::rustc_peek;

rustc_fluent_macro::fluent_messages! { "../messages.ftl" }

pub fn provide(providers: &mut Providers) {
Expand Down

0 comments on commit 016a709

Please sign in to comment.