@@ -71,7 +71,7 @@ pub use crate::ty::diagnostics::*;
7171pub use self :: binding:: BindingMode ;
7272pub use self :: binding:: BindingMode :: * ;
7373
74- pub use self :: context:: { keep_local , tls, FreeRegionInfo , TyCtxt } ;
74+ pub use self :: context:: { tls, FreeRegionInfo , TyCtxt } ;
7575pub use self :: context:: {
7676 CanonicalUserType , CanonicalUserTypeAnnotation , CanonicalUserTypeAnnotations , ResolvedOpaqueTy ,
7777 UserType , UserTypeAnnotationIndex ,
@@ -577,27 +577,23 @@ bitflags! {
577577 | TypeFlags :: HAS_TY_OPAQUE . bits
578578 | TypeFlags :: HAS_CT_PROJECTION . bits;
579579
580- /// Present if the type belongs in a local type context.
581- /// Set for placeholders and inference variables that are not "Fresh".
582- const KEEP_IN_LOCAL_TCX = 1 << 13 ;
583-
584580 /// Is an error type reachable?
585- const HAS_TY_ERR = 1 << 14 ;
581+ const HAS_TY_ERR = 1 << 13 ;
586582
587583 /// Does this have any region that "appears free" in the type?
588584 /// Basically anything but [ReLateBound] and [ReErased].
589- const HAS_FREE_REGIONS = 1 << 15 ;
585+ const HAS_FREE_REGIONS = 1 << 14 ;
590586
591587 /// Does this have any [ReLateBound] regions? Used to check
592588 /// if a global bound is safe to evaluate.
593- const HAS_RE_LATE_BOUND = 1 << 16 ;
589+ const HAS_RE_LATE_BOUND = 1 << 15 ;
594590
595591 /// Does this have any [ReErased] regions?
596- const HAS_RE_ERASED = 1 << 17 ;
592+ const HAS_RE_ERASED = 1 << 16 ;
597593
598594 /// Does this value have parameters/placeholders/inference variables which could be
599595 /// replaced later, in a way that would change the results of `impl` specialization?
600- const STILL_FURTHER_SPECIALIZABLE = 1 << 18 ;
596+ const STILL_FURTHER_SPECIALIZABLE = 1 << 17 ;
601597 }
602598}
603599
0 commit comments