]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/issue-13698.rs
Merge commit '1480cea393d0cee195e59949eabdfbcf1230f7f9' into clippyup
[rust.git] / tests / rustdoc / issue-13698.rs
1 // aux-build:issue-13698.rs
2 // ignore-cross-compile
3
4 extern crate issue_13698;
5
6 pub struct Foo;
7 // @!has issue_13698/struct.Foo.html '//*[@id="method.foo"]' 'fn foo'
8 impl issue_13698::Foo for Foo {}
9
10 pub trait Bar {
11     #[doc(hidden)]
12     fn bar(&self) {}
13 }
14
15 // @!has issue_13698/struct.Foo.html '//*[@id="method.bar"]' 'fn bar'
16 impl Bar for Foo {}