diff options
Diffstat (limited to 'src/test/rustdoc/issue-74083.rs')
-rw-r--r-- | src/test/rustdoc/issue-74083.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/test/rustdoc/issue-74083.rs b/src/test/rustdoc/issue-74083.rs deleted file mode 100644 index c7f5d7eaa..000000000 --- a/src/test/rustdoc/issue-74083.rs +++ /dev/null @@ -1,21 +0,0 @@ -use std::ops::Deref; - -pub struct Foo; - -impl Foo { - pub fn foo(&mut self) {} -} - -// @has issue_74083/struct.Bar.html -// @!has - '//div[@class="sidebar-links"]/a[@href="#method.foo"]' 'foo' -pub struct Bar { - foo: Foo, -} - -impl Deref for Bar { - type Target = Foo; - - fn deref(&self) -> &Foo { - &self.foo - } -} |