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
|
@ -7,7 +7,6 @@ use crate::type_of::LayoutLlvmExt;
|
|||
use crate::value::Value;
|
||||
use libc::{c_char, c_uint};
|
||||
use log::debug;
|
||||
use rustc::session::config::{self, Sanitizer};
|
||||
use rustc::ty::layout::{self, Align, Size, TyLayout};
|
||||
use rustc::ty::{self, Ty, TyCtxt};
|
||||
use rustc_codegen_ssa::base::to_immediate;
|
||||
|
@ -19,6 +18,7 @@ use rustc_codegen_ssa::MemFlags;
|
|||
use rustc_data_structures::const_cstr;
|
||||
use rustc_data_structures::small_c_str::SmallCStr;
|
||||
use rustc_hir::def_id::DefId;
|
||||
use rustc_session::config::{self, Sanitizer};
|
||||
use rustc_target::spec::{HasTargetSpec, Target};
|
||||
use std::borrow::Cow;
|
||||
use std::ffi::CStr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue