@@ -69,55 +69,58 @@ bitflags! {
69
69
70
70
/// Does this have `Projection`?
71
71
const HAS_TY_PROJECTION = 1 << 10 ;
72
- /// Does this have `Inherent `?
73
- const HAS_TY_INHERENT = 1 << 11 ;
72
+ /// Does this have `Weak `?
73
+ const HAS_TY_WEAK = 1 << 11 ;
74
74
/// Does this have `Opaque`?
75
75
const HAS_TY_OPAQUE = 1 << 12 ;
76
+ /// Does this have `Inherent`?
77
+ const HAS_TY_INHERENT = 1 << 13 ;
76
78
/// Does this have `ConstKind::Unevaluated`?
77
- const HAS_CT_PROJECTION = 1 << 13 ;
79
+ const HAS_CT_PROJECTION = 1 << 14 ;
78
80
79
81
/// Could this type be normalized further?
80
82
const HAS_PROJECTION = TypeFlags :: HAS_TY_PROJECTION . bits( )
83
+ | TypeFlags :: HAS_TY_WEAK . bits( )
81
84
| TypeFlags :: HAS_TY_OPAQUE . bits( )
82
85
| TypeFlags :: HAS_TY_INHERENT . bits( )
83
86
| TypeFlags :: HAS_CT_PROJECTION . bits( ) ;
84
87
85
88
/// Is an error type/const reachable?
86
- const HAS_ERROR = 1 << 14 ;
89
+ const HAS_ERROR = 1 << 15 ;
87
90
88
91
/// Does this have any region that "appears free" in the type?
89
92
/// Basically anything but `ReBound` and `ReErased`.
90
- const HAS_FREE_REGIONS = 1 << 15 ;
93
+ const HAS_FREE_REGIONS = 1 << 16 ;
91
94
92
95
/// Does this have any `ReBound` regions?
93
- const HAS_RE_BOUND = 1 << 16 ;
96
+ const HAS_RE_BOUND = 1 << 17 ;
94
97
/// Does this have any `Bound` types?
95
- const HAS_TY_BOUND = 1 << 17 ;
98
+ const HAS_TY_BOUND = 1 << 18 ;
96
99
/// Does this have any `ConstKind::Bound` consts?
97
- const HAS_CT_BOUND = 1 << 18 ;
100
+ const HAS_CT_BOUND = 1 << 19 ;
98
101
/// Does this have any bound variables?
99
102
/// Used to check if a global bound is safe to evaluate.
100
103
const HAS_BOUND_VARS = TypeFlags :: HAS_RE_BOUND . bits( )
101
104
| TypeFlags :: HAS_TY_BOUND . bits( )
102
105
| TypeFlags :: HAS_CT_BOUND . bits( ) ;
103
106
104
107
/// Does this have any `ReErased` regions?
105
- const HAS_RE_ERASED = 1 << 19 ;
108
+ const HAS_RE_ERASED = 1 << 20 ;
106
109
107
110
/// Does this value have parameters/placeholders/inference variables which could be
108
111
/// replaced later, in a way that would change the results of `impl` specialization?
109
- const STILL_FURTHER_SPECIALIZABLE = 1 << 20 ;
112
+ const STILL_FURTHER_SPECIALIZABLE = 1 << 21 ;
110
113
111
114
/// Does this value have `InferTy::FreshTy/FreshIntTy/FreshFloatTy`?
112
- const HAS_TY_FRESH = 1 << 21 ;
115
+ const HAS_TY_FRESH = 1 << 22 ;
113
116
114
117
/// Does this value have `InferConst::Fresh`?
115
- const HAS_CT_FRESH = 1 << 22 ;
118
+ const HAS_CT_FRESH = 1 << 23 ;
116
119
117
120
/// Does this have `Coroutine` or `CoroutineWitness`?
118
- const HAS_TY_COROUTINE = 1 << 23 ;
121
+ const HAS_TY_COROUTINE = 1 << 24 ;
119
122
120
123
/// Does this have any binders with bound vars (e.g. that need to be anonymized)?
121
- const HAS_BINDER_VARS = 1 << 24 ;
124
+ const HAS_BINDER_VARS = 1 << 25 ;
122
125
}
123
126
}
0 commit comments