@@ -71,7 +71,7 @@ pub use crate::ty::diagnostics::*;
71
71
pub use self :: binding:: BindingMode ;
72
72
pub use self :: binding:: BindingMode :: * ;
73
73
74
- pub use self :: context:: { keep_local , tls, FreeRegionInfo , TyCtxt } ;
74
+ pub use self :: context:: { tls, FreeRegionInfo , TyCtxt } ;
75
75
pub use self :: context:: {
76
76
CanonicalUserType , CanonicalUserTypeAnnotation , CanonicalUserTypeAnnotations , ResolvedOpaqueTy ,
77
77
UserType , UserTypeAnnotationIndex ,
@@ -577,27 +577,23 @@ bitflags! {
577
577
| TypeFlags :: HAS_TY_OPAQUE . bits
578
578
| TypeFlags :: HAS_CT_PROJECTION . bits;
579
579
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
-
584
580
/// Is an error type reachable?
585
- const HAS_TY_ERR = 1 << 14 ;
581
+ const HAS_TY_ERR = 1 << 13 ;
586
582
587
583
/// Does this have any region that "appears free" in the type?
588
584
/// Basically anything but [ReLateBound] and [ReErased].
589
- const HAS_FREE_REGIONS = 1 << 15 ;
585
+ const HAS_FREE_REGIONS = 1 << 14 ;
590
586
591
587
/// Does this have any [ReLateBound] regions? Used to check
592
588
/// if a global bound is safe to evaluate.
593
- const HAS_RE_LATE_BOUND = 1 << 16 ;
589
+ const HAS_RE_LATE_BOUND = 1 << 15 ;
594
590
595
591
/// Does this have any [ReErased] regions?
596
- const HAS_RE_ERASED = 1 << 17 ;
592
+ const HAS_RE_ERASED = 1 << 16 ;
597
593
598
594
/// Does this value have parameters/placeholders/inference variables which could be
599
595
/// 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 ;
601
597
}
602
598
}
603
599
0 commit comments