rust/tests/rustdoc/doc-hidden-trait-implementors-33069.rs

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

14 lines
255 B
Rust
Raw Normal View History

2023-10-16 23:12:17 +00:00
// 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 {}