Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 016a709

Browse files
committed
Condense use rustc_* declarations.
No reason to have two of them listed separately, after modules.
1 parent 016a2e3 commit 016a709

File tree

1 file changed

+2
-3
lines changed
  • compiler/rustc_mir_transform/src

1 file changed

+2
-3
lines changed

compiler/rustc_mir_transform/src/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ extern crate tracing;
1818

1919
use hir::ConstContext;
2020
use required_consts::RequiredConstsVisitor;
21+
use rustc_const_eval::check_consts::{self, ConstCx};
2122
use rustc_const_eval::util;
2223
use rustc_data_structures::fx::FxIndexSet;
2324
use rustc_data_structures::steal::Steal;
@@ -34,6 +35,7 @@ use rustc_middle::mir::{
3435
use rustc_middle::ty::{self, TyCtxt, TypeVisitableExt};
3536
use rustc_middle::util::Providers;
3637
use rustc_middle::{bug, query, span_bug};
38+
use rustc_mir_dataflow::rustc_peek;
3739
use rustc_span::source_map::Spanned;
3840
use rustc_span::{sym, DUMMY_SP};
3941
use rustc_trait_selection::traits;
@@ -108,9 +110,6 @@ mod unreachable_enum_branching;
108110
mod unreachable_prop;
109111
mod validate;
110112

111-
use rustc_const_eval::check_consts::{self, ConstCx};
112-
use rustc_mir_dataflow::rustc_peek;
113-
114113
rustc_fluent_macro::fluent_messages! { "../messages.ftl" }
115114

116115
pub fn provide(providers: &mut Providers) {

0 commit comments

Comments
 (0)