mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
14 lines
255 B
Rust
14 lines
255 B
Rust
// 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 {}
|