1 // compile-flags: -Z unstable-options --document-hidden-items
3 // test for trait methods with `doc(hidden)` with `--document-hidden-items` passed.
6 // @has foo/trait.Trait.html
7 // @has - '//*[@id="associatedtype.Foo"]' 'type Foo'
8 // @has - '//*[@id="associatedtype.Bar"]' 'type Bar'
9 // @has - '//*[@id="tymethod.f"]' 'fn f()'
10 // @has - '//*[@id="tymethod.g"]' 'fn g()'
20 // @has foo/struct.S.html
21 // @has - '//*[@id="associatedtype.Foo"]' 'type Foo'
22 // @has - '//*[@id="associatedtype.Bar"]' 'type Bar'
23 // @has - '//*[@id="method.f"]' 'fn f()'
24 // @has - '//*[@id="method.g"]' 'fn g()'