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 {
541541 }
542542 } ;
543543
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-
556544 // No modifiers left? This is a private item.
557545 ( tcx: $tcx: tt,
558546 input: ( ( [ ] $attrs: tt $name: tt) $( $input: tt) * ) ,
@@ -685,7 +673,7 @@ define_maps! { <'tcx>
685673
686674 /// Maps from def-id of a type or region parameter to its
687675 /// (inferred) variance.
688- [ pub ] variances_of: ItemVariances ( DefId ) -> Rc <Vec <ty:: Variance >>,
676+ [ ] variances_of: ItemVariances ( DefId ) -> Rc <Vec <ty:: Variance >>,
689677
690678 /// Maps from an impl/trait def-id to a list of the def-ids of its items
691679 [ ] associated_item_def_ids: AssociatedItemDefIds ( DefId ) -> Rc <Vec <DefId >>,
You can’t perform that action at this time.
0 commit comments