summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/issue-72340.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/issue-72340.rs')
-rw-r--r--src/test/rustdoc/issue-72340.rs19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/test/rustdoc/issue-72340.rs b/src/test/rustdoc/issue-72340.rs
deleted file mode 100644
index 64044cfe9..000000000
--- a/src/test/rustdoc/issue-72340.rs
+++ /dev/null
@@ -1,19 +0,0 @@
-#![crate_name = "foo"]
-
-pub struct Body;
-
-impl Body {
- pub fn empty() -> Self {
- Body
- }
-
-}
-
-impl Default for Body {
- // @has foo/struct.Body.html '//a/@href' 'struct.Body.html#method.empty'
-
- /// Returns [`Body::empty()`](Body::empty).
- fn default() -> Body {
- Body::empty()
- }
-}