summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/intra-doc/trait-item.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/intra-doc/trait-item.rs')
-rw-r--r--src/test/rustdoc/intra-doc/trait-item.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/rustdoc/intra-doc/trait-item.rs b/src/test/rustdoc/intra-doc/trait-item.rs
deleted file mode 100644
index e95dba33b..000000000
--- a/src/test/rustdoc/intra-doc/trait-item.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-#![deny(rustdoc::broken_intra_doc_links)]
-
-/// Link to [S::assoc_fn()]
-/// Link to [Default::default()]
-// @has trait_item/struct.S.html '//*[@href="struct.S.html#method.assoc_fn"]' 'S::assoc_fn()'
-// @has - '//*[@href="{{channel}}/core/default/trait.Default.html#tymethod.default"]' 'Default::default()'
-pub struct S;
-
-impl S {
- pub fn assoc_fn() {}
-}