compiler: Factor rustc_target::abi out of hir_typeck
This commit is contained in:
parent
9d95c8bd16
commit
ff17ce2f6a
@ -6,6 +6,7 @@ edition = "2021"
|
||||
[dependencies]
|
||||
# tidy-alphabetical-start
|
||||
itertools = "0.12"
|
||||
rustc_abi = { path = "../rustc_abi" }
|
||||
rustc_ast = { path = "../rustc_ast" }
|
||||
rustc_ast_ir = { path = "../rustc_ast_ir" }
|
||||
rustc_attr = { path = "../rustc_attr" }
|
||||
|
@ -1,4 +1,5 @@
|
||||
use hir::HirId;
|
||||
use rustc_abi::Primitive::Pointer;
|
||||
use rustc_errors::codes::*;
|
||||
use rustc_errors::struct_span_code_err;
|
||||
use rustc_hir as hir;
|
||||
@ -6,7 +7,7 @@
|
||||
use rustc_middle::bug;
|
||||
use rustc_middle::ty::layout::{LayoutError, SizeSkeleton};
|
||||
use rustc_middle::ty::{self, Ty, TyCtxt, TypeVisitableExt};
|
||||
use rustc_target::abi::{Pointer, VariantIdx};
|
||||
use rustc_target::abi::VariantIdx;
|
||||
use tracing::trace;
|
||||
|
||||
use super::FnCtxt;
|
||||
|
Loading…
Reference in New Issue
Block a user