summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/sidebar-link-generation.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/sidebar-link-generation.rs')
-rw-r--r--src/test/rustdoc/sidebar-link-generation.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/rustdoc/sidebar-link-generation.rs b/src/test/rustdoc/sidebar-link-generation.rs
deleted file mode 100644
index 7858f35a2..000000000
--- a/src/test/rustdoc/sidebar-link-generation.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-#![crate_name = "foo"]
-
-// @has foo/struct.SomeStruct.html '//*[@class="sidebar-elems"]//section//li/a[@href="#method.some_fn-1"]' \
-// "some_fn"
-pub struct SomeStruct<T> { _inner: T }
-
-impl SomeStruct<()> {
- pub fn some_fn(&self) {}
-}
-
-impl SomeStruct<usize> {
- pub fn some_fn(&self) {}
-}