2015-04-06 22:10:55 +00:00
|
|
|
//@ aux-build:issue-13698.rs
|
2015-04-22 22:22:36 +00:00
|
|
|
//@ ignore-cross-compile
|
2015-04-06 22:10:55 +00:00
|
|
|
|
2023-09-28 00:22:18 +00:00
|
|
|
// https://github.com/rust-lang/rust/issues/13698
|
2023-09-27 23:51:21 +00:00
|
|
|
#![crate_name="issue_13698"]
|
|
|
|
|
2015-04-06 22:10:55 +00:00
|
|
|
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 20:30:15 +00:00
|
|
|
// @!has issue_13698/struct.Foo.html '//*[@id="method.bar"]' 'fn bar'
|
2015-04-06 22:10:55 +00:00
|
|
|
impl Bar for Foo {}
|