@@ -54,14 +54,14 @@ use crate::hir;
5454
5555pub use self :: sty:: { Binder , BoundTy , BoundTyKind , BoundVar , DebruijnIndex , INNERMOST } ;
5656pub 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 } ;
5858pub use self :: sty:: { ClosureSubsts , GeneratorSubsts , UpvarSubsts , TypeAndMut } ;
5959pub use self :: sty:: { TraitRef , TyKind , PolyTraitRef } ;
6060pub use self :: sty:: { ExistentialTraitRef , PolyExistentialTraitRef } ;
6161pub use self :: sty:: { ExistentialProjection , PolyExistentialProjection , Const , LazyConst } ;
6262pub use self :: sty:: { BoundRegion , EarlyBoundRegion , FreeRegion , Region } ;
6363pub use self :: sty:: RegionKind ;
64- pub use self :: sty:: { TyVid , IntVid , FloatVid , RegionVid } ;
64+ pub use self :: sty:: { TyVid , IntVid , FloatVid , ConstVid , RegionVid } ;
6565pub use self :: sty:: BoundRegion :: * ;
6666pub use self :: sty:: InferTy :: * ;
6767pub use self :: sty:: RegionKind :: * ;
@@ -451,6 +451,8 @@ bitflags! {
451451
452452 const HAS_TY_PLACEHOLDER = 1 << 14 ;
453453
454+ const HAS_CT_INFER = 1 << 15 ;
455+
454456 const NEEDS_SUBST = TypeFlags :: HAS_PARAMS . bits |
455457 TypeFlags :: HAS_SELF . bits |
456458 TypeFlags :: HAS_RE_EARLY_BOUND . bits;
@@ -462,6 +464,7 @@ bitflags! {
462464 TypeFlags :: HAS_SELF . bits |
463465 TypeFlags :: HAS_TY_INFER . bits |
464466 TypeFlags :: HAS_RE_INFER . bits |
467+ TypeFlags :: HAS_CT_INFER . bits |
465468 TypeFlags :: HAS_RE_PLACEHOLDER . bits |
466469 TypeFlags :: HAS_RE_EARLY_BOUND . bits |
467470 TypeFlags :: HAS_FREE_REGIONS . bits |
0 commit comments