@@ -15,16 +15,16 @@ macro_rules! x {
15
15
$what, '(' , $( $who, ) * ')' , "'" , "[..]" )
16
16
}
17
17
} } ;
18
- ( $tool: tt => $what: tt of $who: tt with $first_value: tt $( $other_values: tt) * ) => { {
18
+ ( $tool: tt => $what: tt of $who: tt with $( $ first_value: tt $( $other_values: tt) * ) ? ) => { {
19
19
#[ cfg( windows) ]
20
20
{
21
21
concat!( "[RUNNING] [..]" , $tool, "[..] --check-cfg \" " ,
22
- $what, '(' , $who, ", values(" , "/\" " , $first_value, "/\" " , $( ", " , "/\" " , $other_values, "/\" " , ) * "))" , '"' , "[..]" )
22
+ $what, '(' , $who, ", values(" , $ ( "/\" " , $first_value, "/\" " , $( ", " , "/\" " , $other_values, "/\" " , ) * ) * "))" , '"' , "[..]" )
23
23
}
24
24
#[ cfg( not( windows) ) ]
25
25
{
26
26
concat!( "[RUNNING] [..]" , $tool, "[..] --check-cfg '" ,
27
- $what, '(' , $who, ", values(" , "\" " , $first_value, "\" " , $( ", " , "\" " , $other_values, "\" " , ) * "))" , "'" , "[..]" )
27
+ $what, '(' , $who, ", values(" , $ ( "\" " , $first_value, "\" " , $( ", " , "\" " , $other_values, "\" " , ) * ) * "))" , "'" , "[..]" )
28
28
}
29
29
} } ;
30
30
}
@@ -221,7 +221,7 @@ fn well_known_names_values() {
221
221
222
222
p. cargo ( "check -v -Zcheck-cfg" )
223
223
. masquerade_as_nightly_cargo ( & [ "check-cfg" ] )
224
- . with_stderr_contains ( x ! ( "rustc" => "cfg" ) )
224
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with ) )
225
225
. run ( ) ;
226
226
}
227
227
@@ -284,7 +284,7 @@ fn well_known_names_values_test() {
284
284
285
285
p. cargo ( "test -v -Zcheck-cfg" )
286
286
. masquerade_as_nightly_cargo ( & [ "check-cfg" ] )
287
- . with_stderr_contains ( x ! ( "rustc" => "cfg" ) )
287
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with ) )
288
288
. run ( ) ;
289
289
}
290
290
@@ -297,8 +297,8 @@ fn well_known_names_values_doctest() {
297
297
298
298
p. cargo ( "test -v --doc -Zcheck-cfg" )
299
299
. masquerade_as_nightly_cargo ( & [ "check-cfg" ] )
300
- . with_stderr_contains ( x ! ( "rustc" => "cfg" ) )
301
- . with_stderr_contains ( x ! ( "rustdoc" => "cfg" ) )
300
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with ) )
301
+ . with_stderr_contains ( x ! ( "rustdoc" => "cfg" of "feature" with ) )
302
302
. run ( ) ;
303
303
}
304
304
0 commit comments