@@ -1596,6 +1596,8 @@ struct AllTypes {
15961596 statics : FxHashSet < ItemEntry > ,
15971597 constants : FxHashSet < ItemEntry > ,
15981598 keywords : FxHashSet < ItemEntry > ,
1599+ attributes : FxHashSet < ItemEntry > ,
1600+ derives : FxHashSet < ItemEntry > ,
15991601}
16001602
16011603impl AllTypes {
@@ -1614,6 +1616,8 @@ impl AllTypes {
16141616 statics : new_set ( 100 ) ,
16151617 constants : new_set ( 100 ) ,
16161618 keywords : new_set ( 100 ) ,
1619+ attributes : new_set ( 100 ) ,
1620+ derives : new_set ( 100 ) ,
16171621 }
16181622 }
16191623
@@ -1635,6 +1639,8 @@ impl AllTypes {
16351639 ItemType :: Existential => self . existentials . insert ( ItemEntry :: new ( new_url, name) ) ,
16361640 ItemType :: Static => self . statics . insert ( ItemEntry :: new ( new_url, name) ) ,
16371641 ItemType :: Constant => self . constants . insert ( ItemEntry :: new ( new_url, name) ) ,
1642+ ItemType :: ProcAttribute => self . attributes . insert ( ItemEntry :: new ( new_url, name) ) ,
1643+ ItemType :: ProcDerive => self . derives . insert ( ItemEntry :: new ( new_url, name) ) ,
16381644 _ => true ,
16391645 } ;
16401646 }
@@ -1674,6 +1680,8 @@ impl fmt::Display for AllTypes {
16741680 print_entries ( f, & self . primitives , "Primitives" , "primitives" ) ?;
16751681 print_entries ( f, & self . traits , "Traits" , "traits" ) ?;
16761682 print_entries ( f, & self . macros , "Macros" , "macros" ) ?;
1683+ print_entries ( f, & self . attributes , "Attribute Macros" , "attributes" ) ?;
1684+ print_entries ( f, & self . derives , "Derive Macros" , "derives" ) ?;
16771685 print_entries ( f, & self . functions , "Functions" , "functions" ) ?;
16781686 print_entries ( f, & self . typedefs , "Typedefs" , "typedefs" ) ?;
16791687 print_entries ( f, & self . existentials , "Existentials" , "existentials" ) ?;
0 commit comments