diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2024-11-02 19:33:06 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2024-11-03 13:38:47 -0800 |
| commit | 092135b7b4564ca1156fd3d1af9db7a78a0c3d73 (patch) | |
| tree | 5a74560c24ae7c91ba0432c821488b8ba033776f /compiler/rustc_ty_utils/src/layout | |
| parent | 6c16a3123b2078d35dd726342d5df7e6763ffdbb (diff) | |
| download | rust-092135b7b4564ca1156fd3d1af9db7a78a0c3d73.tar.gz rust-092135b7b4564ca1156fd3d1af9db7a78a0c3d73.zip | |
compiler: Directly use rustc_abi in ty_utils
Diffstat (limited to 'compiler/rustc_ty_utils/src/layout')
| -rw-r--r-- | compiler/rustc_ty_utils/src/layout/invariant.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ty_utils/src/layout/invariant.rs b/compiler/rustc_ty_utils/src/layout/invariant.rs index f43feb552b2..fc05dd8256b 100644 --- a/compiler/rustc_ty_utils/src/layout/invariant.rs +++ b/compiler/rustc_ty_utils/src/layout/invariant.rs @@ -1,8 +1,8 @@ use std::assert_matches::assert_matches; +use rustc_abi::{BackendRepr, FieldsShape, Scalar, Size, Variants}; use rustc_middle::bug; use rustc_middle::ty::layout::{HasTyCtxt, LayoutCx, TyAndLayout}; -use rustc_target::abi::*; /// Enforce some basic invariants on layouts. pub(super) fn partially_check_layout<'tcx>(cx: &LayoutCx<'tcx>, layout: &TyAndLayout<'tcx>) { |
