@@ -54,14 +54,14 @@ use crate::hir;
54
54
55
55
pub use self :: sty:: { Binder , BoundTy , BoundTyKind , BoundVar , DebruijnIndex , INNERMOST } ;
56
56
pub use self :: sty:: { FnSig , GenSig , CanonicalPolyFnSig , PolyFnSig , PolyGenSig } ;
57
- pub use self :: sty:: { InferTy , ParamTy , ProjectionTy , ExistentialPredicate } ;
57
+ pub use self :: sty:: { InferTy , ParamTy , ParamConst , InferConst , ProjectionTy , ExistentialPredicate } ;
58
58
pub use self :: sty:: { ClosureSubsts , GeneratorSubsts , UpvarSubsts , TypeAndMut } ;
59
59
pub use self :: sty:: { TraitRef , TyKind , PolyTraitRef } ;
60
60
pub use self :: sty:: { ExistentialTraitRef , PolyExistentialTraitRef } ;
61
61
pub use self :: sty:: { ExistentialProjection , PolyExistentialProjection , Const , LazyConst } ;
62
62
pub use self :: sty:: { BoundRegion , EarlyBoundRegion , FreeRegion , Region } ;
63
63
pub use self :: sty:: RegionKind ;
64
- pub use self :: sty:: { TyVid , IntVid , FloatVid , RegionVid } ;
64
+ pub use self :: sty:: { TyVid , IntVid , FloatVid , ConstVid , RegionVid } ;
65
65
pub use self :: sty:: BoundRegion :: * ;
66
66
pub use self :: sty:: InferTy :: * ;
67
67
pub use self :: sty:: RegionKind :: * ;
@@ -451,6 +451,8 @@ bitflags! {
451
451
452
452
const HAS_TY_PLACEHOLDER = 1 << 14 ;
453
453
454
+ const HAS_CT_INFER = 1 << 15 ;
455
+
454
456
const NEEDS_SUBST = TypeFlags :: HAS_PARAMS . bits |
455
457
TypeFlags :: HAS_SELF . bits |
456
458
TypeFlags :: HAS_RE_EARLY_BOUND . bits;
@@ -462,6 +464,7 @@ bitflags! {
462
464
TypeFlags :: HAS_SELF . bits |
463
465
TypeFlags :: HAS_TY_INFER . bits |
464
466
TypeFlags :: HAS_RE_INFER . bits |
467
+ TypeFlags :: HAS_CT_INFER . bits |
465
468
TypeFlags :: HAS_RE_PLACEHOLDER . bits |
466
469
TypeFlags :: HAS_RE_EARLY_BOUND . bits |
467
470
TypeFlags :: HAS_FREE_REGIONS . bits |
0 commit comments