@@ -730,7 +730,6 @@ unstable_cli_options!(
730730 config_include: bool = ( "Enable the `include` key in config files" ) ,
731731 credential_process: bool = ( "Add a config setting to fetch registry authentication tokens by calling an external process" ) ,
732732 direct_minimal_versions: bool = ( "Resolve minimal dependency versions instead of maximum (direct dependencies only)" ) ,
733- doctest_in_workspace: bool = ( "Compile doctests with paths relative to the workspace root" ) ,
734733 doctest_xcompile: bool = ( "Compile and run doctests for non-host target using runner config" ) ,
735734 dual_proc_macros: bool = ( "Build proc-macros for both the host and the target" ) ,
736735 features: Option <Vec <String >> = ( HIDDEN ) ,
@@ -800,6 +799,9 @@ const STABILIZED_NAMED_PROFILES: &str = "The named-profiles feature is now alway
800799 See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#custom-profiles \
801800 for more information";
802801
802+ const STABILIZED_DOCTEST_IN_WORKSPACE : & str =
803+ "The doctest-in-workspace feature is now always enabled." ;
804+
803805const STABILIZED_FUTURE_INCOMPAT_REPORT : & str =
804806 "The future-incompat-report feature is now always enabled." ;
805807
@@ -1080,6 +1082,7 @@ impl CliUnstable {
10801082 "multitarget" => stabilized_warn ( k, "1.64" , STABILISED_MULTITARGET ) ,
10811083 "sparse-registry" => stabilized_warn ( k, "1.68" , STABILISED_SPARSE_REGISTRY ) ,
10821084 "terminal-width" => stabilized_warn ( k, "1.68" , STABILIZED_TERMINAL_WIDTH ) ,
1085+ "doctest-in-workspace" => stabilized_warn ( k, "1.72" , STABILIZED_DOCTEST_IN_WORKSPACE ) ,
10831086
10841087 // Unstable features
10851088 // Sorted alphabetically:
@@ -1098,7 +1101,6 @@ impl CliUnstable {
10981101 "config-include" => self . config_include = parse_empty ( k, v) ?,
10991102 "credential-process" => self . credential_process = parse_empty ( k, v) ?,
11001103 "direct-minimal-versions" => self . direct_minimal_versions = parse_empty ( k, v) ?,
1101- "doctest-in-workspace" => self . doctest_in_workspace = parse_empty ( k, v) ?,
11021104 "doctest-xcompile" => self . doctest_xcompile = parse_empty ( k, v) ?,
11031105 "dual-proc-macros" => self . dual_proc_macros = parse_empty ( k, v) ?,
11041106 "gitoxide" => {
0 commit comments