File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -653,8 +653,6 @@ fn crate_version_flag_already_present(rustdoc: &ProcessBuilder) -> bool {
653
653
654
654
fn append_crate_version_flag ( unit : & Unit < ' _ > , rustdoc : & mut ProcessBuilder ) {
655
655
rustdoc
656
- . arg ( "-Z" )
657
- . arg ( "unstable-options" )
658
656
. arg ( RUSTDOC_CRATE_VERSION_FLAG )
659
657
. arg ( unit. pkg . version ( ) . to_string ( ) ) ;
660
658
}
Original file line number Diff line number Diff line change @@ -1513,7 +1513,7 @@ fn bin_private_items_deps() {
1513
1513
1514
1514
#[ cargo_test]
1515
1515
fn crate_versions ( ) {
1516
- // Testing unstable flag
1516
+ // Testing flag that will reach stable on 1.44
1517
1517
if !is_nightly ( ) {
1518
1518
return ;
1519
1519
}
@@ -1542,7 +1542,7 @@ fn crate_versions() {
1542
1542
1543
1543
#[ cargo_test]
1544
1544
fn crate_versions_flag_is_overridden ( ) {
1545
- // Testing unstable flag
1545
+ // Testing flag that will reach stable on 1.44
1546
1546
if !is_nightly ( ) {
1547
1547
return ;
1548
1548
}
@@ -1570,13 +1570,13 @@ fn crate_versions_flag_is_overridden() {
1570
1570
1571
1571
p. cargo ( "-Z crate-versions doc" )
1572
1572
. masquerade_as_nightly_cargo ( )
1573
- . env ( "RUSTDOCFLAGS" , "-Z unstable-options - -crate-version 2.0.3" )
1573
+ . env ( "RUSTDOCFLAGS" , "--crate-version 2.0.3" )
1574
1574
. run ( ) ;
1575
1575
asserts ( output_documentation ( ) ) ;
1576
1576
1577
1577
p. build_dir ( ) . rm_rf ( ) ;
1578
1578
1579
- p. cargo ( "-Z crate-versions rustdoc -- -Z unstable-options - -crate-version 2.0.3" )
1579
+ p. cargo ( "-Z crate-versions rustdoc -- --crate-version 2.0.3" )
1580
1580
. masquerade_as_nightly_cargo ( )
1581
1581
. run ( ) ;
1582
1582
asserts ( output_documentation ( ) ) ;
You can’t perform that action at this time.
0 commit comments