Skip to content

Commit 16b85df

Browse files
Move rustdoc options out of the removed/deprecated part
1 parent 12183aa commit 16b85df

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/librustdoc/lib.rs

+9-9
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,15 @@ fn opts() -> Vec<RustcOptGroup> {
642642
"Includes trait implementations and other crate info from provided path. Only use with --merge=finalize",
643643
"path/to/doc.parts/<crate-name>",
644644
),
645+
opt(Unstable, Flag, "", "html-no-source", "Disable HTML source code pages generation", ""),
646+
unstable("doctest-compilation-args", |o| {
647+
o.optmulti(
648+
"",
649+
"doctest-compilation-args",
650+
"",
651+
"add arguments to be used when compiling doctests",
652+
)
653+
}),
645654
// deprecated / removed options
646655
opt(Unstable, FlagMulti, "", "disable-minification", "removed", ""),
647656
opt(
@@ -684,15 +693,6 @@ fn opts() -> Vec<RustcOptGroup> {
684693
"removed, see issue #44136 <https://github.com/rust-lang/rust/issues/44136> for more information",
685694
"[rust]",
686695
),
687-
opt(Unstable, Flag, "", "html-no-source", "Disable HTML source code pages generation", ""),
688-
unstable("doctest-compilation-args", |o| {
689-
o.optmulti(
690-
"",
691-
"doctest-compilation-args",
692-
"",
693-
"add arguments to be used when compiling doctests",
694-
)
695-
}),
696696
]
697697
}
698698

0 commit comments

Comments
 (0)