diff options
| author | David Tolnay <dtolnay@gmail.com> | 2023-09-20 22:09:48 -0700 |
|---|---|---|
| committer | David Tolnay <dtolnay@gmail.com> | 2023-09-20 22:09:48 -0700 |
| commit | 3dcc8fcab5eecf1cf9715ed78609994ec37c9863 (patch) | |
| tree | 14f8741b53ca237d22c0f4f01f9c833a274efe40 | |
| parent | 4fda889bf8735755573b27e6116ce025f3ded5f9 (diff) | |
| download | rust-3dcc8fcab5eecf1cf9715ed78609994ec37c9863.tar.gz rust-3dcc8fcab5eecf1cf9715ed78609994ec37c9863.zip | |
Delete obsolete --disable-per-crate-search rustdoc flag
| -rw-r--r-- | src/librustdoc/lib.rs | 7 | ||||
| -rw-r--r-- | tests/run-make/issue-88756-default-output/output-default.stdout | 3 | ||||
| -rw-r--r-- | tests/rustdoc/no-crate-filter.rs | 6 |
3 files changed, 0 insertions, 16 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index 2f88f6dc6e0..fc2acb6eaa3 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -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( "", diff --git a/tests/run-make/issue-88756-default-output/output-default.stdout b/tests/run-make/issue-88756-default-output/output-default.stdout index f5981045b03..38a3965f0c5 100644 --- a/tests/run-make/issue-88756-default-output/output-default.stdout +++ b/tests/run-make/issue-88756-default-output/output-default.stdout @@ -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 diff --git a/tests/rustdoc/no-crate-filter.rs b/tests/rustdoc/no-crate-filter.rs deleted file mode 100644 index b2f89906480..00000000000 --- a/tests/rustdoc/no-crate-filter.rs +++ /dev/null @@ -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; |
