Move things to rustc_type_ir
This commit is contained in:
parent
4f39fb1f34
commit
a7015fe816
25 changed files with 1030 additions and 241 deletions
|
@ -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(..)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue