@@ -119,14 +119,14 @@ macro_rules! __lazy_static_internal {
119
119
( $( #[ $attr: meta] ) * static ref $N: ident : $T: ty = $e: expr; $( $t: tt) * ) => {
120
120
__lazy_static_internal!( @PRIV , $( #[ $attr] ) * static ref $N : $T = $e; $( $t) * ) ;
121
121
} ;
122
- ( $( #[ $attr: meta] ) * pub ( in $in : path) static ref $N: ident : $T: ty = $e: expr; $( $t: tt) * ) => {
123
- __lazy_static_internal!( @PUB_IN , $in , $( #[ $attr] ) * static ref $N : $T = $e; $( $t) * ) ;
122
+ ( $( #[ $attr: meta] ) * pub ( in $pub_in : path) static ref $N: ident : $T: ty = $e: expr; $( $t: tt) * ) => {
123
+ __lazy_static_internal!( @PUB_IN , $pub_in , $( #[ $attr] ) * static ref $N : $T = $e; $( $t) * ) ;
124
124
} ;
125
125
( $( #[ $attr: meta] ) * pub static ref $N: ident : $T: ty = $e: expr; $( $t: tt) * ) => {
126
126
__lazy_static_internal!( @PUB , $( #[ $attr] ) * static ref $N : $T = $e; $( $t) * ) ;
127
127
} ;
128
- ( @PUB_IN , $in : path, $( #[ $attr: meta] ) * static ref $N: ident : $T: ty = $e: expr; $( $t: tt) * ) => {
129
- __lazy_static_internal!( @MAKE TY , PUB_IN , $in , $( #[ $attr] ) * , $N) ;
128
+ ( @PUB_IN , $pub_in : path, $( #[ $attr: meta] ) * static ref $N: ident : $T: ty = $e: expr; $( $t: tt) * ) => {
129
+ __lazy_static_internal!( @MAKE TY , PUB_IN , $pub_in , $( #[ $attr] ) * , $N) ;
130
130
__lazy_static_internal!( @TAIL , $N : $T = $e) ;
131
131
__lazy_static_internal!( $( $t) * ) ;
132
132
} ;
@@ -168,14 +168,14 @@ macro_rules! __lazy_static_internal {
168
168
#[ doc( hidden) ]
169
169
pub static $N: $N = $N { __private_field: ( ) } ;
170
170
} ;
171
- ( @MAKE TY , PUB_IN , $in : path, $( #[ $attr: meta] ) * , $N: ident) => {
171
+ ( @MAKE TY , PUB_IN , $pub_in : path, $( #[ $attr: meta] ) * , $N: ident) => {
172
172
#[ allow( missing_copy_implementations) ]
173
173
#[ allow( non_camel_case_types) ]
174
174
#[ allow( dead_code) ]
175
175
$( #[ $attr] ) *
176
- pub ( in $in ) struct $N { __private_field: ( ) }
176
+ pub ( in $pub_in ) struct $N { __private_field: ( ) }
177
177
#[ doc( hidden) ]
178
- pub ( in $in ) static $N: $N = $N { __private_field: ( ) } ;
178
+ pub ( in $pub_in ) static $N: $N = $N { __private_field: ( ) } ;
179
179
} ;
180
180
( @MAKE TY , PRIV , $( #[ $attr: meta] ) * , $N: ident) => {
181
181
#[ allow( missing_copy_implementations) ]
@@ -195,8 +195,8 @@ macro_rules! lazy_static {
195
195
( $( #[ $attr: meta] ) * static ref $N: ident : $T: ty = $e: expr; $( $t: tt) * ) => {
196
196
__lazy_static_internal!( @PRIV , $( #[ $attr] ) * static ref $N : $T = $e; $( $t) * ) ;
197
197
} ;
198
- ( $( #[ $attr: meta] ) * pub ( in $in : path) static ref $N: ident : $T: ty = $e: expr; $( $t: tt) * ) => {
199
- __lazy_static_internal!( @PUB_IN , $in , $( #[ $attr] ) * static ref $N : $T = $e; $( $t) * ) ;
198
+ ( $( #[ $attr: meta] ) * pub ( in $pub_in : path) static ref $N: ident : $T: ty = $e: expr; $( $t: tt) * ) => {
199
+ __lazy_static_internal!( @PUB_IN , $pub_in , $( #[ $attr] ) * static ref $N : $T = $e; $( $t) * ) ;
200
200
} ;
201
201
( $( #[ $attr: meta] ) * pub static ref $N: ident : $T: ty = $e: expr; $( $t: tt) * ) => {
202
202
__lazy_static_internal!( @PUB , $( #[ $attr] ) * static ref $N : $T = $e; $( $t) * ) ;
0 commit comments