File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -541,18 +541,6 @@ macro_rules! define_map_struct {
541
541
}
542
542
} ;
543
543
544
- // Detect things with the `pub` modifier
545
- ( tcx: $tcx: tt,
546
- input: ( ( [ pub $( $other_modifiers: tt) * ] $attrs: tt $name: tt) $( $input: tt) * ) ,
547
- output: $output: tt) => {
548
- define_map_struct! {
549
- tcx: $tcx,
550
- ready: ( [ pub ] $attrs $name) ,
551
- input: ( $( $input) * ) ,
552
- output: $output
553
- }
554
- } ;
555
-
556
544
// No modifiers left? This is a private item.
557
545
( tcx: $tcx: tt,
558
546
input: ( ( [ ] $attrs: tt $name: tt) $( $input: tt) * ) ,
@@ -685,7 +673,7 @@ define_maps! { <'tcx>
685
673
686
674
/// Maps from def-id of a type or region parameter to its
687
675
/// (inferred) variance.
688
- [ pub ] variances_of: ItemVariances ( DefId ) -> Rc <Vec <ty:: Variance >>,
676
+ [ ] variances_of: ItemVariances ( DefId ) -> Rc <Vec <ty:: Variance >>,
689
677
690
678
/// Maps from an impl/trait def-id to a list of the def-ids of its items
691
679
[ ] associated_item_def_ids: AssociatedItemDefIds ( DefId ) -> Rc <Vec <DefId >>,
You can’t perform that action at this time.
0 commit comments