Condense use rustc_*
declarations.
No reason to have two of them listed separately, after modules.
This commit is contained in:
parent
016a2e30a9
commit
016a709b24
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
use hir::ConstContext;
|
use hir::ConstContext;
|
||||||
use required_consts::RequiredConstsVisitor;
|
use required_consts::RequiredConstsVisitor;
|
||||||
|
use rustc_const_eval::check_consts::{self, ConstCx};
|
||||||
use rustc_const_eval::util;
|
use rustc_const_eval::util;
|
||||||
use rustc_data_structures::fx::FxIndexSet;
|
use rustc_data_structures::fx::FxIndexSet;
|
||||||
use rustc_data_structures::steal::Steal;
|
use rustc_data_structures::steal::Steal;
|
||||||
@ -34,6 +35,7 @@
|
|||||||
use rustc_middle::ty::{self, TyCtxt, TypeVisitableExt};
|
use rustc_middle::ty::{self, TyCtxt, TypeVisitableExt};
|
||||||
use rustc_middle::util::Providers;
|
use rustc_middle::util::Providers;
|
||||||
use rustc_middle::{bug, query, span_bug};
|
use rustc_middle::{bug, query, span_bug};
|
||||||
|
use rustc_mir_dataflow::rustc_peek;
|
||||||
use rustc_span::source_map::Spanned;
|
use rustc_span::source_map::Spanned;
|
||||||
use rustc_span::{sym, DUMMY_SP};
|
use rustc_span::{sym, DUMMY_SP};
|
||||||
use rustc_trait_selection::traits;
|
use rustc_trait_selection::traits;
|
||||||
@ -108,9 +110,6 @@
|
|||||||
mod unreachable_prop;
|
mod unreachable_prop;
|
||||||
mod validate;
|
mod validate;
|
||||||
|
|
||||||
use rustc_const_eval::check_consts::{self, ConstCx};
|
|
||||||
use rustc_mir_dataflow::rustc_peek;
|
|
||||||
|
|
||||||
rustc_fluent_macro::fluent_messages! { "../messages.ftl" }
|
rustc_fluent_macro::fluent_messages! { "../messages.ftl" }
|
||||||
|
|
||||||
pub fn provide(providers: &mut Providers) {
|
pub fn provide(providers: &mut Providers) {
|
||||||
|
Loading…
Reference in New Issue
Block a user