diff options
| author | Wilco Kusee <wilcokusee@gmail.com> | 2021-01-31 10:32:34 +0100 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2022-05-28 11:38:22 -0700 |
| commit | a7015fe8169ebfcd6707f34bf190cb4c4ae302f7 (patch) | |
| tree | e443b532f373659632e8005baccce82eef3f5e91 /compiler/rustc_ty_utils/src | |
| parent | 4f39fb1f34d4bd25d9ce96afe7b2d109f073e286 (diff) | |
| download | rust-a7015fe8169ebfcd6707f34bf190cb4c4ae302f7.tar.gz rust-a7015fe8169ebfcd6707f34bf190cb4c4ae302f7.zip | |
Move things to rustc_type_ir
Diffstat (limited to 'compiler/rustc_ty_utils/src')
| -rw-r--r-- | compiler/rustc_ty_utils/src/ty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ty_utils/src/ty.rs b/compiler/rustc_ty_utils/src/ty.rs index 23700e653e3..8d04b8816ff 100644 --- a/compiler/rustc_ty_utils/src/ty.rs +++ b/compiler/rustc_ty_utils/src/ty.rs @@ -13,7 +13,7 @@ fn sized_constraint_for_ty<'tcx>( adtdef: ty::AdtDef<'tcx>, ty: Ty<'tcx>, ) -> Vec<Ty<'tcx>> { - use ty::TyKind::*; + use rustc_type_ir::sty::TyKind::*; let result = match ty.kind() { Bool | Char | Int(..) | Uint(..) | Float(..) | RawPtr(..) | Ref(..) | FnDef(..) |
