@@ -80,7 +80,7 @@ bitflags::bitflags! {
8080 /// Does this have `Inherent`?
8181 const HAS_TY_INHERENT = 1 << 13 ;
8282 /// Does this have `ConstKind::Alias`?
83- const HAS_CT_PROJECTION = 1 << 14 ;
83+ const HAS_CONST_ALIAS = 1 << 14 ;
8484
8585 /// Does this have `Alias` or `ConstKind::Alias`?
8686 ///
@@ -89,7 +89,7 @@ bitflags::bitflags! {
8989 | TypeFlags :: HAS_TY_FREE_ALIAS . bits( )
9090 | TypeFlags :: HAS_TY_OPAQUE . bits( )
9191 | TypeFlags :: HAS_TY_INHERENT . bits( )
92- | TypeFlags :: HAS_CT_PROJECTION . bits( ) ;
92+ | TypeFlags :: HAS_CONST_ALIAS . bits( ) ;
9393
9494 /// Is a type or const error reachable?
9595 const HAS_NON_REGION_ERROR = 1 << 15 ;
@@ -476,7 +476,7 @@ impl<I: Interner> FlagComputation<I> {
476476 ty:: ConstKind :: Alias ( is_rigid, alias_const) => {
477477 self . add_is_rigid ( is_rigid) ;
478478 self . add_args ( alias_const. args . as_slice ( ) ) ;
479- self . add_flags ( TypeFlags :: HAS_CT_PROJECTION ) ;
479+ self . add_flags ( TypeFlags :: HAS_CONST_ALIAS ) ;
480480 }
481481 ty:: ConstKind :: Infer ( infer) => match infer {
482482 ty:: InferConst :: Fresh ( _) => self . add_flags ( TypeFlags :: HAS_CT_FRESH ) ,
0 commit comments