diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2024-11-02 19:32:52 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2024-11-03 13:38:47 -0800 |
| commit | bbd18e29da5d06db8e2c4d6c8111118aa7efec24 (patch) | |
| tree | e82aa125d12e7b5d1a1c06f37c8fd784bdae2e9a /compiler/rustc_const_eval/src/interpret/eval_context.rs | |
| parent | b895bf4fdce434f394dbe0f4c57d4d0952cd13d7 (diff) | |
| download | rust-bbd18e29da5d06db8e2c4d6c8111118aa7efec24.tar.gz rust-bbd18e29da5d06db8e2c4d6c8111118aa7efec24.zip | |
compiler: Directly use rustc_abi in const_eval
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/eval_context.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/eval_context.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/eval_context.rs b/compiler/rustc_const_eval/src/interpret/eval_context.rs index 9043bd3e28e..ff6d5b28b3b 100644 --- a/compiler/rustc_const_eval/src/interpret/eval_context.rs +++ b/compiler/rustc_const_eval/src/interpret/eval_context.rs @@ -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}; |
