From dbcf68951c564f946ab0021c7699ea1a4bf861d0 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Thu, 20 Dec 2018 13:28:55 +0100 Subject: Add no-crate filter option on rustdoc --- src/test/rustdoc/no-crate-filter.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/test/rustdoc/no-crate-filter.rs (limited to 'src/test/rustdoc') 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 or the MIT license +// , 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; -- cgit 1.4.1-3-g733a5