@@ -25,7 +25,7 @@ fn path() -> Vec<std::path::PathBuf> {
25
25
std:: env:: split_paths ( & std:: env:: var_os ( "PATH" ) . unwrap_or_default ( ) ) . collect ( )
26
26
}
27
27
28
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
28
+ #[ cargo_test]
29
29
fn basic_rs ( ) {
30
30
let p = cargo_test_support:: project ( )
31
31
. file ( "echo.rs" , ECHO_SCRIPT )
@@ -48,7 +48,7 @@ args: []
48
48
. run ( ) ;
49
49
}
50
50
51
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
51
+ #[ cargo_test]
52
52
fn basic_path ( ) {
53
53
let p = cargo_test_support:: project ( )
54
54
. file ( "echo" , ECHO_SCRIPT )
@@ -94,8 +94,8 @@ fn path_required() {
94
94
. run ( ) ;
95
95
}
96
96
97
- #[ cargo_test( nightly, reason = "edition2024 hasn't hit stable yet" ) ]
98
97
#[ cfg( unix) ]
98
+ #[ cargo_test]
99
99
fn manifest_precedence_over_plugins ( ) {
100
100
let p = cargo_test_support:: project ( )
101
101
. file ( "echo.rs" , ECHO_SCRIPT )
@@ -125,8 +125,8 @@ args: []
125
125
. run ( ) ;
126
126
}
127
127
128
- #[ cargo_test( nightly, reason = "edition2024 hasn't hit stable yet" ) ]
129
128
#[ cfg( unix) ]
129
+ #[ cargo_test]
130
130
fn warn_when_plugin_masks_manifest_on_stable ( ) {
131
131
let p = cargo_test_support:: project ( )
132
132
. file ( "echo.rs" , ECHO_SCRIPT )
@@ -182,7 +182,7 @@ fn requires_z_flag() {
182
182
. run ( ) ;
183
183
}
184
184
185
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
185
+ #[ cargo_test]
186
186
fn clean_output_with_edition ( ) {
187
187
let script = r#"#!/usr/bin/env cargo
188
188
---
@@ -212,7 +212,7 @@ Hello world!
212
212
. run ( ) ;
213
213
}
214
214
215
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
215
+ #[ cargo_test]
216
216
fn warning_without_edition ( ) {
217
217
let script = r#"#!/usr/bin/env cargo
218
218
---
@@ -242,7 +242,7 @@ Hello world!
242
242
. run ( ) ;
243
243
}
244
244
245
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
245
+ #[ cargo_test]
246
246
fn rebuild ( ) {
247
247
let script = r#"#!/usr/bin/env cargo-eval
248
248
@@ -302,7 +302,7 @@ msg = hello
302
302
. run ( ) ;
303
303
}
304
304
305
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
305
+ #[ cargo_test]
306
306
fn use_cargo_home_config ( ) {
307
307
let script = ECHO_SCRIPT ;
308
308
let _ = cargo_test_support:: project ( )
@@ -366,7 +366,7 @@ Caused by:
366
366
. run ( ) ;
367
367
}
368
368
369
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
369
+ #[ cargo_test]
370
370
fn default_programmatic_verbosity ( ) {
371
371
let script = ECHO_SCRIPT ;
372
372
let p = cargo_test_support:: project ( )
@@ -384,7 +384,7 @@ args: ["-NotAnArg"]
384
384
. run ( ) ;
385
385
}
386
386
387
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
387
+ #[ cargo_test]
388
388
fn quiet ( ) {
389
389
let script = ECHO_SCRIPT ;
390
390
let p = cargo_test_support:: project ( )
@@ -402,7 +402,7 @@ args: ["-NotAnArg"]
402
402
. run ( ) ;
403
403
}
404
404
405
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
405
+ #[ cargo_test]
406
406
fn test_line_numbering_preserved ( ) {
407
407
let script = r#"#!/usr/bin/env cargo
408
408
@@ -430,7 +430,7 @@ line: 4
430
430
. run ( ) ;
431
431
}
432
432
433
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
433
+ #[ cargo_test]
434
434
fn test_escaped_hyphen_arg ( ) {
435
435
let script = ECHO_SCRIPT ;
436
436
let p = cargo_test_support:: project ( )
@@ -454,7 +454,7 @@ args: ["-NotAnArg"]
454
454
. run ( ) ;
455
455
}
456
456
457
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
457
+ #[ cargo_test]
458
458
fn test_unescaped_hyphen_arg ( ) {
459
459
let script = ECHO_SCRIPT ;
460
460
let p = cargo_test_support:: project ( )
@@ -478,7 +478,7 @@ args: ["-NotAnArg"]
478
478
. run ( ) ;
479
479
}
480
480
481
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
481
+ #[ cargo_test]
482
482
fn test_same_flags ( ) {
483
483
let script = ECHO_SCRIPT ;
484
484
let p = cargo_test_support:: project ( )
@@ -502,7 +502,7 @@ args: ["--help"]
502
502
. run ( ) ;
503
503
}
504
504
505
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
505
+ #[ cargo_test]
506
506
fn test_name_has_weird_chars ( ) {
507
507
let script = ECHO_SCRIPT ;
508
508
let p = cargo_test_support:: project ( )
@@ -526,7 +526,7 @@ args: []
526
526
. run ( ) ;
527
527
}
528
528
529
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
529
+ #[ cargo_test]
530
530
fn test_name_has_leading_number ( ) {
531
531
let script = ECHO_SCRIPT ;
532
532
let p = cargo_test_support:: project ( )
@@ -550,7 +550,7 @@ args: []
550
550
. run ( ) ;
551
551
}
552
552
553
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
553
+ #[ cargo_test]
554
554
fn test_name_is_number ( ) {
555
555
let script = ECHO_SCRIPT ;
556
556
let p = cargo_test_support:: project ( ) . file ( "42.rs" , script) . build ( ) ;
@@ -685,7 +685,7 @@ fn did_you_mean_command_stable() {
685
685
. run ( ) ;
686
686
}
687
687
688
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
688
+ #[ cargo_test]
689
689
fn test_name_same_as_dependency ( ) {
690
690
Package :: new ( "script" , "1.0.0" ) . publish ( ) ;
691
691
let script = r#"#!/usr/bin/env cargo
@@ -722,7 +722,7 @@ Hello world!
722
722
. run ( ) ;
723
723
}
724
724
725
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
725
+ #[ cargo_test]
726
726
fn test_path_dep ( ) {
727
727
let script = r#"#!/usr/bin/env cargo
728
728
---
@@ -758,7 +758,7 @@ Hello world!
758
758
. run ( ) ;
759
759
}
760
760
761
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
761
+ #[ cargo_test]
762
762
fn test_no_build_rs ( ) {
763
763
let script = r#"#!/usr/bin/env cargo
764
764
@@ -786,7 +786,7 @@ Hello world!
786
786
. run ( ) ;
787
787
}
788
788
789
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
789
+ #[ cargo_test]
790
790
fn test_no_autobins ( ) {
791
791
let script = r#"#!/usr/bin/env cargo
792
792
@@ -814,7 +814,7 @@ Hello world!
814
814
. run ( ) ;
815
815
}
816
816
817
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
817
+ #[ cargo_test]
818
818
fn test_no_autolib ( ) {
819
819
let script = r#"#!/usr/bin/env cargo
820
820
@@ -1242,7 +1242,7 @@ Caused by:
1242
1242
. run ( ) ;
1243
1243
}
1244
1244
1245
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
1245
+ #[ cargo_test]
1246
1246
fn implicit_target_dir ( ) {
1247
1247
let script = ECHO_SCRIPT ;
1248
1248
let p = cargo_test_support:: project ( )
@@ -1266,7 +1266,7 @@ args: []
1266
1266
. run ( ) ;
1267
1267
}
1268
1268
1269
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
1269
+ #[ cargo_test]
1270
1270
fn no_local_lockfile ( ) {
1271
1271
let script = ECHO_SCRIPT ;
1272
1272
let p = cargo_test_support:: project ( )
@@ -1330,7 +1330,7 @@ fn cmd_check_requires_z_flag() {
1330
1330
. run ( ) ;
1331
1331
}
1332
1332
1333
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
1333
+ #[ cargo_test]
1334
1334
fn cmd_check_with_embedded ( ) {
1335
1335
let script = ECHO_SCRIPT ;
1336
1336
let p = cargo_test_support:: project ( )
@@ -1379,7 +1379,7 @@ fn cmd_check_with_missing_script() {
1379
1379
. run ( ) ;
1380
1380
}
1381
1381
1382
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
1382
+ #[ cargo_test]
1383
1383
fn cmd_build_with_embedded ( ) {
1384
1384
let script = ECHO_SCRIPT ;
1385
1385
let p = cargo_test_support:: project ( )
@@ -1398,7 +1398,7 @@ fn cmd_build_with_embedded() {
1398
1398
. run ( ) ;
1399
1399
}
1400
1400
1401
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
1401
+ #[ cargo_test]
1402
1402
fn cmd_test_with_embedded ( ) {
1403
1403
let script = ECHO_SCRIPT ;
1404
1404
let p = cargo_test_support:: project ( )
@@ -1426,7 +1426,7 @@ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; fini
1426
1426
. run ( ) ;
1427
1427
}
1428
1428
1429
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
1429
+ #[ cargo_test]
1430
1430
fn cmd_clean_with_embedded ( ) {
1431
1431
let script = ECHO_SCRIPT ;
1432
1432
let p = cargo_test_support:: project ( )
@@ -1615,7 +1615,7 @@ fn cmd_read_manifest_with_embedded() {
1615
1615
. run ( ) ;
1616
1616
}
1617
1617
1618
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
1618
+ #[ cargo_test]
1619
1619
fn cmd_run_with_embedded ( ) {
1620
1620
let p = cargo_test_support:: project ( )
1621
1621
. file ( "script.rs" , ECHO_SCRIPT )
@@ -1696,7 +1696,7 @@ fn cmd_verify_project_with_embedded() {
1696
1696
. run ( ) ;
1697
1697
}
1698
1698
1699
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
1699
+ #[ cargo_test]
1700
1700
fn cmd_pkgid_with_embedded ( ) {
1701
1701
let p = cargo_test_support:: project ( )
1702
1702
. file ( "script.rs" , ECHO_SCRIPT )
@@ -1736,7 +1736,7 @@ fn cmd_pkgid_with_embedded_no_lock_file() {
1736
1736
. run ( ) ;
1737
1737
}
1738
1738
1739
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
1739
+ #[ cargo_test]
1740
1740
fn cmd_pkgid_with_embedded_dep ( ) {
1741
1741
Package :: new ( "dep" , "1.0.0" ) . publish ( ) ;
1742
1742
let script = r#"#!/usr/bin/env cargo
@@ -1769,7 +1769,7 @@ registry+https://github.com/rust-lang/crates.io-index#
[email protected]
1769
1769
. run ( ) ;
1770
1770
}
1771
1771
1772
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
1772
+ #[ cargo_test]
1773
1773
fn script_as_dep ( ) {
1774
1774
let p = cargo_test_support:: project ( )
1775
1775
. file ( "script.rs" , ECHO_SCRIPT )
@@ -1857,7 +1857,7 @@ fn cmd_publish_with_embedded() {
1857
1857
. run ( ) ;
1858
1858
}
1859
1859
1860
- #[ cargo_test( nightly , reason = "edition2024 hasn't hit stable yet" ) ]
1860
+ #[ cargo_test]
1861
1861
fn manifest_path_env ( ) {
1862
1862
let p = cargo_test_support:: project ( )
1863
1863
. file (
0 commit comments