Skip to content

Commit

Permalink
Move rustdoc options out of the removed/deprecated part
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Dec 20, 2024
1 parent 81287bb commit a5162c6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/librustdoc/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,15 @@ fn opts() -> Vec<RustcOptGroup> {
"Includes trait implementations and other crate info from provided path. Only use with --merge=finalize",
"path/to/doc.parts/<crate-name>",
),
opt(Unstable, Flag, "", "html-no-source", "Disable HTML source code pages generation", ""),
unstable("doctest-compilation-args", |o| {
o.optmulti(
"",
"doctest-compilation-args",
"",
"add arguments to be used when compiling doctests",
)
}),
// deprecated / removed options
opt(Unstable, FlagMulti, "", "disable-minification", "removed", ""),
opt(
Expand Down Expand Up @@ -684,15 +693,6 @@ fn opts() -> Vec<RustcOptGroup> {
"removed, see issue #44136 <https://github.com/rust-lang/rust/issues/44136> for more information",
"[rust]",
),
opt(Unstable, Flag, "", "html-no-source", "Disable HTML source code pages generation", ""),
unstable("doctest-compilation-args", |o| {
o.optmulti(
"",
"doctest-compilation-args",
"",
"add arguments to be used when compiling doctests",
)
}),
]
}

Expand Down

0 comments on commit a5162c6

Please sign in to comment.