@@ -730,7 +730,6 @@ unstable_cli_options!(
730
730
config_include: bool = ( "Enable the `include` key in config files" ) ,
731
731
credential_process: bool = ( "Add a config setting to fetch registry authentication tokens by calling an external process" ) ,
732
732
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" ) ,
734
733
doctest_xcompile: bool = ( "Compile and run doctests for non-host target using runner config" ) ,
735
734
dual_proc_macros: bool = ( "Build proc-macros for both the host and the target" ) ,
736
735
features: Option <Vec <String >> = ( HIDDEN ) ,
@@ -800,6 +799,9 @@ const STABILIZED_NAMED_PROFILES: &str = "The named-profiles feature is now alway
800
799
See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#custom-profiles \
801
800
for more information";
802
801
802
+ const STABILIZED_DOCTEST_IN_WORKSPACE : & str =
803
+ "The doctest-in-workspace feature is now always enabled." ;
804
+
803
805
const STABILIZED_FUTURE_INCOMPAT_REPORT : & str =
804
806
"The future-incompat-report feature is now always enabled." ;
805
807
@@ -1080,6 +1082,7 @@ impl CliUnstable {
1080
1082
"multitarget" => stabilized_warn ( k, "1.64" , STABILISED_MULTITARGET ) ,
1081
1083
"sparse-registry" => stabilized_warn ( k, "1.68" , STABILISED_SPARSE_REGISTRY ) ,
1082
1084
"terminal-width" => stabilized_warn ( k, "1.68" , STABILIZED_TERMINAL_WIDTH ) ,
1085
+ "doctest-in-workspace" => stabilized_warn ( k, "1.72" , STABILIZED_DOCTEST_IN_WORKSPACE ) ,
1083
1086
1084
1087
// Unstable features
1085
1088
// Sorted alphabetically:
@@ -1098,7 +1101,6 @@ impl CliUnstable {
1098
1101
"config-include" => self . config_include = parse_empty ( k, v) ?,
1099
1102
"credential-process" => self . credential_process = parse_empty ( k, v) ?,
1100
1103
"direct-minimal-versions" => self . direct_minimal_versions = parse_empty ( k, v) ?,
1101
- "doctest-in-workspace" => self . doctest_in_workspace = parse_empty ( k, v) ?,
1102
1104
"doctest-xcompile" => self . doctest_xcompile = parse_empty ( k, v) ?,
1103
1105
"dual-proc-macros" => self . dual_proc_macros = parse_empty ( k, v) ?,
1104
1106
"gitoxide" => {
0 commit comments