about summary refs log tree commit diff
path: root/tests/rustdoc/doc-hidden-trait-implementors-33069.rs
blob: d5ee3d0927660707c0142c640cc4df19c65f0806 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// https://github.com/rust-lang/rust/issues/33069
#![crate_name="issue_33069"]

pub trait Bar {}

#[doc(hidden)]
pub mod hidden {
    pub struct Foo;
}

//@ has issue_33069/trait.Bar.html
//@ !has - '//code' 'impl Bar for Foo'
impl Bar for hidden::Foo {}