@@ -50,6 +50,7 @@ fn features() {
50
50
p. cargo ( "check -v -Zcheck-cfg" )
51
51
. masquerade_as_nightly_cargo ( & [ "check-cfg" ] )
52
52
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with "f_a" "f_b" ) )
53
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
53
54
. run ( ) ;
54
55
}
55
56
@@ -79,6 +80,7 @@ fn features_with_deps() {
79
80
p. cargo ( "check -v -Zcheck-cfg" )
80
81
. masquerade_as_nightly_cargo ( & [ "check-cfg" ] )
81
82
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with "f_a" "f_b" ) )
83
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
82
84
. run ( ) ;
83
85
}
84
86
@@ -109,6 +111,7 @@ fn features_with_opt_deps() {
109
111
p. cargo ( "check -v -Zcheck-cfg" )
110
112
. masquerade_as_nightly_cargo ( & [ "check-cfg" ] )
111
113
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with "bar" "default" "f_a" "f_b" ) )
114
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
112
115
. run ( ) ;
113
116
}
114
117
@@ -138,6 +141,7 @@ fn features_with_namespaced_features() {
138
141
p. cargo ( "check -v -Zcheck-cfg" )
139
142
. masquerade_as_nightly_cargo ( & [ "check-cfg" ] )
140
143
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with "f_a" "f_b" ) )
144
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
141
145
. run ( ) ;
142
146
}
143
147
@@ -222,6 +226,7 @@ fn well_known_names_values() {
222
226
p. cargo ( "check -v -Zcheck-cfg" )
223
227
. masquerade_as_nightly_cargo ( & [ "check-cfg" ] )
224
228
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with) )
229
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
225
230
. run ( ) ;
226
231
}
227
232
@@ -246,6 +251,7 @@ fn features_test() {
246
251
p. cargo ( "test -v -Zcheck-cfg" )
247
252
. masquerade_as_nightly_cargo ( & [ "check-cfg" ] )
248
253
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with "f_a" "f_b" ) )
254
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
249
255
. run ( ) ;
250
256
}
251
257
@@ -272,6 +278,8 @@ fn features_doctest() {
272
278
. masquerade_as_nightly_cargo ( & [ "check-cfg" ] )
273
279
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with "default" "f_a" "f_b" ) )
274
280
. with_stderr_contains ( x ! ( "rustdoc" => "cfg" of "feature" with "default" "f_a" "f_b" ) )
281
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
282
+ . with_stderr_contains ( x ! ( "rustdoc" => "cfg" of "docsrs" ) )
275
283
. run ( ) ;
276
284
}
277
285
@@ -285,6 +293,7 @@ fn well_known_names_values_test() {
285
293
p. cargo ( "test -v -Zcheck-cfg" )
286
294
. masquerade_as_nightly_cargo ( & [ "check-cfg" ] )
287
295
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with) )
296
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
288
297
. run ( ) ;
289
298
}
290
299
@@ -299,6 +308,8 @@ fn well_known_names_values_doctest() {
299
308
. masquerade_as_nightly_cargo ( & [ "check-cfg" ] )
300
309
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with) )
301
310
. with_stderr_contains ( x ! ( "rustdoc" => "cfg" of "feature" with) )
311
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
312
+ . with_stderr_contains ( x ! ( "rustdoc" => "cfg" of "docsrs" ) )
302
313
. run ( ) ;
303
314
}
304
315
@@ -324,6 +335,7 @@ fn features_doc() {
324
335
p. cargo ( "doc -v -Zcheck-cfg" )
325
336
. masquerade_as_nightly_cargo ( & [ "check-cfg" ] )
326
337
. with_stderr_contains ( x ! ( "rustdoc" => "cfg" of "feature" with "default" "f_a" "f_b" ) )
338
+ . with_stderr_contains ( x ! ( "rustdoc" => "cfg" of "docsrs" ) )
327
339
. run ( ) ;
328
340
}
329
341
@@ -350,6 +362,7 @@ fn build_script_feedback() {
350
362
p. cargo ( "check -v -Zcheck-cfg" )
351
363
. masquerade_as_nightly_cargo ( & [ "check-cfg" ] )
352
364
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "foo" ) )
365
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
353
366
. run ( ) ;
354
367
}
355
368
@@ -423,6 +436,8 @@ fn build_script_override() {
423
436
424
437
p. cargo ( "check -v -Zcheck-cfg" )
425
438
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "foo" ) )
439
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with) )
440
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
426
441
. masquerade_as_nightly_cargo ( & [ "check-cfg" ] )
427
442
. run ( ) ;
428
443
}
@@ -573,6 +588,7 @@ fn config_valid() {
573
588
p. cargo ( "check -v" )
574
589
. masquerade_as_nightly_cargo ( & [ "check-cfg" ] )
575
590
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with "f_a" "f_b" ) )
591
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
576
592
. run ( ) ;
577
593
}
578
594
0 commit comments