File tree Expand file tree Collapse file tree 3 files changed +1
-9
lines changed Expand file tree Collapse file tree 3 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,6 @@ impl FlagComputation {
128128 if should_remove_further_specializable {
129129 self . flags -= TypeFlags :: STILL_FURTHER_SPECIALIZABLE ;
130130 }
131- self . add_flags ( TypeFlags :: HAS_TY_COROUTINE ) ;
132131 }
133132
134133 & ty:: Closure ( _, args) => {
Original file line number Diff line number Diff line change @@ -119,10 +119,7 @@ bitflags::bitflags! {
119119 /// Does this value have `InferConst::Fresh`?
120120 const HAS_CT_FRESH = 1 << 23 ;
121121
122- /// Does this have `Coroutine` or `CoroutineWitness`?
123- const HAS_TY_COROUTINE = 1 << 24 ;
124-
125122 /// 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 ;
127124 }
128125}
Original file line number Diff line number Diff line change @@ -269,10 +269,6 @@ pub trait TypeVisitableExt<I: Interner>: TypeVisitable<I> {
269269 self . has_type_flags ( TypeFlags :: HAS_TY_OPAQUE )
270270 }
271271
272- fn has_coroutines ( & self ) -> bool {
273- self . has_type_flags ( TypeFlags :: HAS_TY_COROUTINE )
274- }
275-
276272 fn references_error ( & self ) -> bool {
277273 self . has_type_flags ( TypeFlags :: HAS_ERROR )
278274 }
You can’t perform that action at this time.
0 commit comments