Adjust imports
This commit is contained in:
parent
274455a9d1
commit
5ceda6b016
10 changed files with 12 additions and 12 deletions
|
@ -14,7 +14,7 @@ fn sized_constraint_for_ty<'tcx>(
|
|||
adtdef: ty::AdtDef<'tcx>,
|
||||
ty: Ty<'tcx>,
|
||||
) -> Vec<Ty<'tcx>> {
|
||||
use rustc_type_ir::sty::TyKind::*;
|
||||
use rustc_type_ir::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