]>
Commit | Line | Data |
---|---|---|
9346a6ac | 1 | // aux-build:issue-13698.rs |
d9579d0f | 2 | // ignore-cross-compile |
c34b1796 | 3 | |
9346a6ac | 4 | extern crate issue_13698; |
c34b1796 | 5 | |
9346a6ac AL |
6 | pub struct Foo; |
7 | // @!has issue_13698/struct.Foo.html '//*[@id="method.foo"]' 'fn foo' | |
8 | impl issue_13698::Foo for Foo {} | |
c34b1796 | 9 | |
9346a6ac AL |
10 | pub trait Bar { |
11 | #[doc(hidden)] | |
12 | fn bar(&self) {} | |
223e47cc | 13 | } |
9346a6ac | 14 | |
a1dfa0c6 | 15 | // @!has issue_13698/struct.Foo.html '//*[@id="method.bar"]' 'fn bar' |
9346a6ac | 16 | impl Bar for Foo {} |