diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-12-20 13:28:55 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-12-24 18:19:36 +0100 |
| commit | dbcf68951c564f946ab0021c7699ea1a4bf861d0 (patch) | |
| tree | 9cece544cb93236c1ee9fd9ec562e423bace7299 /src/test | |
| parent | 50f3d6eccb85a24a02b7c1daf5e242768dddf3b5 (diff) | |
Add no-crate filter option on rustdoc
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/rustdoc/no-crate-filter.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/rustdoc/no-crate-filter.rs b/src/test/rustdoc/no-crate-filter.rs new file mode 100644 index 00000000000..e49ce9e088e --- /dev/null +++ b/src/test/rustdoc/no-crate-filter.rs @@ -0,0 +1,16 @@ +// Copyright 2018 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +#![crate_name = "foo"] + +// compile-flags: -Z unstable-options --disable-per-crate-search + +// @!has 'foo/struct.Foo.html' '//*[id="crate-search"]' +pub struct Foo; |
