about summary refs log tree commit diff
path: root/src/test/rustdoc/unneeded-trait-implementations-title.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-03-24 17:22:08 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2018-03-29 14:33:16 +0200
commitd91a821ee835be2870a70cfcc57c325dc1ac78e7 (patch)
tree679d8a902059861e6866ec49b56e84286cd5cd39 /src/test/rustdoc/unneeded-trait-implementations-title.rs
parentdca14701a5fa9cfcf91e438f1bef0eddb3c22f93 (diff)
downloadrust-d91a821ee835be2870a70cfcc57c325dc1ac78e7.tar.gz
rust-d91a821ee835be2870a70cfcc57c325dc1ac78e7.zip
Remove unneeded trait implementations titles
Diffstat (limited to 'src/test/rustdoc/unneeded-trait-implementations-title.rs')
-rw-r--r--src/test/rustdoc/unneeded-trait-implementations-title.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/rustdoc/unneeded-trait-implementations-title.rs b/src/test/rustdoc/unneeded-trait-implementations-title.rs
new file mode 100644
index 00000000000..2c074179e32
--- /dev/null
+++ b/src/test/rustdoc/unneeded-trait-implementations-title.rs
@@ -0,0 +1,15 @@
+// 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"]
+
+pub struct Bar;
+
+// @!has foo/struct.Bar.html '//*[@id="implementations"]'