File tree 3 files changed +1
-9
lines changed
3 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,6 @@ impl FlagComputation {
128
128
if should_remove_further_specializable {
129
129
self . flags -= TypeFlags :: STILL_FURTHER_SPECIALIZABLE ;
130
130
}
131
- self . add_flags ( TypeFlags :: HAS_TY_COROUTINE ) ;
132
131
}
133
132
134
133
& ty:: Closure ( _, args) => {
Original file line number Diff line number Diff line change @@ -119,10 +119,7 @@ bitflags::bitflags! {
119
119
/// Does this value have `InferConst::Fresh`?
120
120
const HAS_CT_FRESH = 1 << 23 ;
121
121
122
- /// Does this have `Coroutine` or `CoroutineWitness`?
123
- const HAS_TY_COROUTINE = 1 << 24 ;
124
-
125
122
/// Does this have any binders with bound vars (e.g. that need to be anonymized)?
126
- const HAS_BINDER_VARS = 1 << 25 ;
123
+ const HAS_BINDER_VARS = 1 << 24 ;
127
124
}
128
125
}
Original file line number Diff line number Diff line change @@ -269,10 +269,6 @@ pub trait TypeVisitableExt<I: Interner>: TypeVisitable<I> {
269
269
self . has_type_flags ( TypeFlags :: HAS_TY_OPAQUE )
270
270
}
271
271
272
- fn has_coroutines ( & self ) -> bool {
273
- self . has_type_flags ( TypeFlags :: HAS_TY_COROUTINE )
274
- }
275
-
276
272
fn references_error ( & self ) -> bool {
277
273
self . has_type_flags ( TypeFlags :: HAS_ERROR )
278
274
}
You can’t perform that action at this time.
0 commit comments