@@ -219,16 +219,16 @@ macro_rules! handle_cycle_error {
219
219
$error. emit( ) ;
220
220
Value :: from_cycle_error( $tcx)
221
221
} } ;
222
- ( [ fatal_cycle $( $rest: tt) * ] [ $tcx: expr, $error: expr] ) => { {
222
+ ( [ fatal_cycle( ) $( $rest: tt) * ] [ $tcx: expr, $error: expr] ) => { {
223
223
$error. emit( ) ;
224
224
$tcx. sess. abort_if_errors( ) ;
225
225
unreachable!( )
226
226
} } ;
227
- ( [ cycle_delay_bug $( $rest: tt) * ] [ $tcx: expr, $error: expr] ) => { {
227
+ ( [ cycle_delay_bug( ) $( $rest: tt) * ] [ $tcx: expr, $error: expr] ) => { {
228
228
$error. delay_as_bug( ) ;
229
229
Value :: from_cycle_error( $tcx)
230
230
} } ;
231
- ( [ $other: ident $ ( ( $( $other_args: tt) * ) ) * $( , $( $modifiers: tt) * ) * ] [ $( $args: tt) * ] ) => {
231
+ ( [ $other: ident ( $( $other_args: tt) * ) $( , $( $modifiers: tt) * ) * ] [ $( $args: tt) * ] ) => {
232
232
handle_cycle_error!( [ $( $( $modifiers) * ) * ] [ $( $args) * ] )
233
233
} ;
234
234
}
@@ -237,10 +237,10 @@ macro_rules! is_anon {
237
237
( [ ] ) => { {
238
238
false
239
239
} } ;
240
- ( [ anon $( $rest: tt) * ] ) => { {
240
+ ( [ anon( ) $( $rest: tt) * ] ) => { {
241
241
true
242
242
} } ;
243
- ( [ $other: ident $ ( ( $( $other_args: tt) * ) ) * $( , $( $modifiers: tt) * ) * ] ) => {
243
+ ( [ $other: ident ( $( $other_args: tt) * ) $( , $( $modifiers: tt) * ) * ] ) => {
244
244
is_anon!( [ $( $( $modifiers) * ) * ] )
245
245
} ;
246
246
}
@@ -249,10 +249,10 @@ macro_rules! is_eval_always {
249
249
( [ ] ) => { {
250
250
false
251
251
} } ;
252
- ( [ eval_always $( $rest: tt) * ] ) => { {
252
+ ( [ eval_always( ) $( $rest: tt) * ] ) => { {
253
253
true
254
254
} } ;
255
- ( [ $other: ident $ ( ( $( $other_args: tt) * ) ) * $( , $( $modifiers: tt) * ) * ] ) => {
255
+ ( [ $other: ident ( $( $other_args: tt) * ) $( , $( $modifiers: tt) * ) * ] ) => {
256
256
is_eval_always!( [ $( $( $modifiers) * ) * ] )
257
257
} ;
258
258
}
@@ -261,10 +261,10 @@ macro_rules! hash_result {
261
261
( [ ] [ $hcx: expr, $result: expr] ) => { {
262
262
dep_graph:: hash_result( $hcx, & $result)
263
263
} } ;
264
- ( [ no_hash $( $rest: tt) * ] [ $hcx: expr, $result: expr] ) => { {
264
+ ( [ no_hash( ) $( $rest: tt) * ] [ $hcx: expr, $result: expr] ) => { {
265
265
None
266
266
} } ;
267
- ( [ $other: ident $ ( ( $( $other_args: tt) * ) ) * $( , $( $modifiers: tt) * ) * ] [ $( $args: tt) * ] ) => {
267
+ ( [ $other: ident ( $( $other_args: tt) * ) $( , $( $modifiers: tt) * ) * ] [ $( $args: tt) * ] ) => {
268
268
hash_result!( [ $( $( $modifiers) * ) * ] [ $( $args) * ] )
269
269
} ;
270
270
}
0 commit comments