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