@@ -554,7 +554,7 @@ pub enum ItemContainerId {
554
554
impl_from ! ( ModuleId for ItemContainerId ) ;
555
555
556
556
/// A Data Type
557
- #[ derive( Debug , PartialOrd , Ord , Clone , Copy , PartialEq , Eq , Hash , salsa :: Supertype ) ]
557
+ #[ derive( Debug , PartialOrd , Ord , Clone , Copy , PartialEq , Eq , Hash , salsa_macros :: Supertype ) ]
558
558
pub enum AdtId {
559
559
StructId ( StructId ) ,
560
560
UnionId ( UnionId ) ,
@@ -563,7 +563,7 @@ pub enum AdtId {
563
563
impl_from ! ( StructId , UnionId , EnumId for AdtId ) ;
564
564
565
565
/// A macro
566
- #[ derive( Debug , PartialOrd , Ord , Clone , Copy , PartialEq , Eq , Hash , salsa :: Supertype ) ]
566
+ #[ derive( Debug , PartialOrd , Ord , Clone , Copy , PartialEq , Eq , Hash , salsa_macros :: Supertype ) ]
567
567
pub enum MacroId {
568
568
Macro2Id ( Macro2Id ) ,
569
569
MacroRulesId ( MacroRulesId ) ,
@@ -619,7 +619,7 @@ impl_from!(
619
619
620
620
/// A constant, which might appears as a const item, an anonymous const block in expressions
621
621
/// or patterns, or as a constant in types with const generics.
622
- #[ derive( Debug , Clone , Copy , PartialEq , Eq , Hash , salsa :: Supertype ) ]
622
+ #[ derive( Debug , Clone , Copy , PartialEq , Eq , Hash , salsa_macros :: Supertype ) ]
623
623
pub enum GeneralConstId {
624
624
ConstId ( ConstId ) ,
625
625
StaticId ( StaticId ) ,
@@ -656,7 +656,7 @@ impl GeneralConstId {
656
656
}
657
657
658
658
/// The defs which have a body (have root expressions for type inference).
659
- #[ derive( Debug , PartialOrd , Ord , Clone , Copy , PartialEq , Eq , Hash , salsa :: Supertype ) ]
659
+ #[ derive( Debug , PartialOrd , Ord , Clone , Copy , PartialEq , Eq , Hash , salsa_macros :: Supertype ) ]
660
660
pub enum DefWithBodyId {
661
661
FunctionId ( FunctionId ) ,
662
662
StaticId ( StaticId ) ,
@@ -701,7 +701,7 @@ pub enum AssocItemId {
701
701
// casting them, and somehow making the constructors private, which would be annoying.
702
702
impl_from ! ( FunctionId , ConstId , TypeAliasId for AssocItemId ) ;
703
703
704
- #[ derive( Debug , PartialOrd , Ord , Clone , Copy , PartialEq , Eq , Hash , salsa :: Supertype ) ]
704
+ #[ derive( Debug , PartialOrd , Ord , Clone , Copy , PartialEq , Eq , Hash , salsa_macros :: Supertype ) ]
705
705
pub enum GenericDefId {
706
706
AdtId ( AdtId ) ,
707
707
// consts can have type parameters from their parents (i.e. associated consts of traits)
@@ -790,7 +790,7 @@ impl From<AssocItemId> for GenericDefId {
790
790
}
791
791
}
792
792
793
- #[ derive( Debug , PartialOrd , Ord , Clone , Copy , PartialEq , Eq , Hash , salsa :: Supertype ) ]
793
+ #[ derive( Debug , PartialOrd , Ord , Clone , Copy , PartialEq , Eq , Hash , salsa_macros :: Supertype ) ]
794
794
pub enum CallableDefId {
795
795
FunctionId ( FunctionId ) ,
796
796
StructId ( StructId ) ,
@@ -906,7 +906,7 @@ impl From<VariantId> for AttrDefId {
906
906
}
907
907
}
908
908
909
- #[ derive( Debug , Clone , Copy , PartialEq , Eq , Hash , salsa :: Supertype ) ]
909
+ #[ derive( Debug , Clone , Copy , PartialEq , Eq , Hash , salsa_macros :: Supertype ) ]
910
910
pub enum VariantId {
911
911
EnumVariantId ( EnumVariantId ) ,
912
912
StructId ( StructId ) ,
0 commit comments