Delete obsolete --disable-per-crate-search rustdoc flag

This commit is contained in:
David Tolnay 2023-09-20 22:09:48 -07:00
parent 4fda889bf8
commit 3dcc8fcab5
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
3 changed files with 0 additions and 16 deletions

View File

@ -503,13 +503,6 @@ fn opts() -> Vec<RustcOptGroup> {
"PATH",
)
}),
unstable("disable-per-crate-search", |o| {
o.optflagmulti(
"",
"disable-per-crate-search",
"disables generating the crate selector on the search box",
)
}),
unstable("persist-doctests", |o| {
o.optopt(
"",

View File

@ -133,9 +133,6 @@ Options:
Path string to force loading static files from in
output pages. If not set, uses combinations of '../'
to reach the documentation root.
--disable-per-crate-search
disables generating the crate selector on the search
box
--persist-doctests PATH
Directory to persist doctest executables into
--show-coverage

View File

@ -1,6 +0,0 @@
#![crate_name = "foo"]
// compile-flags: -Z unstable-options --disable-per-crate-search
// @!has 'foo/struct.Foo.html' '//*[id="crate-search"]' ''
pub struct Foo;