Rollup merge of - dtolnay:percratesearch, r=GuillaumeGomez

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

This unstable flag is unused by rustdoc since ef96d573bf.

We should avoid landing this until after https://github.com/rust-lang/docs.rs/pull/2225 is deployed to docs.rs.
This commit is contained in:
Guillaume Gomez 2023-09-21 13:25:40 +02:00 committed by GitHub
commit e9aee820b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 16 deletions
src/librustdoc
tests
run-make/issue-88756-default-output
rustdoc

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;