os-rust/tests/rustdoc/doc-hidden-method-13698.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
379 B
Rust
Raw Normal View History

// aux-build:issue-13698.rs
// ignore-cross-compile
#![crate_name="issue_13698"]
extern crate issue_13698;
pub struct Foo;
// @!has issue_13698/struct.Foo.html '//*[@id="method.foo"]' 'fn foo'
impl issue_13698::Foo for Foo {}
pub trait Bar {
#[doc(hidden)]
fn bar(&self) {}
}
2018-10-10 22:30:15 +02:00
// @!has issue_13698/struct.Foo.html '//*[@id="method.bar"]' 'fn bar'
impl Bar for Foo {}