compiler: Directly use rustc_abi in const_eval
This commit is contained in:
parent
b895bf4fdc
commit
bbd18e29da
17 changed files with 29 additions and 32 deletions
|
@ -1,4 +1,5 @@
|
|||
use either::{Left, Right};
|
||||
use rustc_abi::{Align, HasDataLayout, Size, TargetDataLayout};
|
||||
use rustc_errors::DiagCtxtHandle;
|
||||
use rustc_hir::def_id::DefId;
|
||||
use rustc_infer::infer::TyCtxtInferExt;
|
||||
|
@ -15,8 +16,7 @@ use rustc_middle::ty::{
|
|||
use rustc_middle::{mir, span_bug};
|
||||
use rustc_session::Limit;
|
||||
use rustc_span::Span;
|
||||
use rustc_target::abi::call::FnAbi;
|
||||
use rustc_target::abi::{Align, HasDataLayout, Size, TargetDataLayout};
|
||||
use rustc_target::callconv::FnAbi;
|
||||
use rustc_trait_selection::traits::ObligationCtxt;
|
||||
use tracing::{debug, instrument, trace};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue