use direct imports for rustc::{lint, session}
.
This commit is contained in:
parent
73a625b5fb
commit
4392a8b73c
127 changed files with 322 additions and 339 deletions
|
@ -3,8 +3,6 @@
|
|||
use std::ffi::CString;
|
||||
|
||||
use rustc::middle::codegen_fn_attrs::CodegenFnAttrFlags;
|
||||
use rustc::session::config::{OptLevel, Sanitizer};
|
||||
use rustc::session::Session;
|
||||
use rustc::ty::layout::HasTyCtxt;
|
||||
use rustc::ty::query::Providers;
|
||||
use rustc::ty::{self, Ty, TyCtxt};
|
||||
|
@ -13,6 +11,8 @@ use rustc_data_structures::const_cstr;
|
|||
use rustc_data_structures::fx::FxHashMap;
|
||||
use rustc_data_structures::small_c_str::SmallCStr;
|
||||
use rustc_hir::def_id::{DefId, LOCAL_CRATE};
|
||||
use rustc_session::config::{OptLevel, Sanitizer};
|
||||
use rustc_session::Session;
|
||||
use rustc_target::abi::call::Conv;
|
||||
use rustc_target::spec::PanicStrategy;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue