rust/tests/rustdoc/issue-13698.rs
2023-01-11 09:32:08 +00:00

17 lines
349 B
Rust

// aux-build:issue-13698.rs
// ignore-cross-compile
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) {}
}
// @!has issue_13698/struct.Foo.html '//*[@id="method.bar"]' 'fn bar'
impl Bar for Foo {}