summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/default-trait-method-link.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/default-trait-method-link.rs')
-rw-r--r--src/test/rustdoc/default-trait-method-link.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/rustdoc/default-trait-method-link.rs b/src/test/rustdoc/default-trait-method-link.rs
deleted file mode 100644
index 7bcd2a3c1..000000000
--- a/src/test/rustdoc/default-trait-method-link.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-#![crate_name = "foo"]
-
-// @has foo/trait.Foo.html '//a[@href="trait.Foo.html#tymethod.req"]' 'req'
-// @has foo/trait.Foo.html '//a[@href="trait.Foo.html#method.prov"]' 'prov'
-
-/// Always make sure to implement [`req`], but you don't have to implement [`prov`].
-///
-/// [`req`]: Foo::req
-/// [`prov`]: Foo::prov
-pub trait Foo {
- /// Required
- fn req();
- /// Provided
- fn prov() {}
-}