rust/tests/rustdoc/auxiliary/cross-crate-hidden-assoc-trait-items.rs
2023-01-11 09:32:08 +00:00

20 lines
317 B
Rust

pub trait Tr {
type VisibleAssoc;
#[doc(hidden)]
type HiddenAssoc;
const VISIBLE_ASSOC: ();
#[doc(hidden)]
const HIDDEN_ASSOC: ();
}
pub struct Ty;
impl Tr for Ty {
type VisibleAssoc = ();
type HiddenAssoc = ();
const VISIBLE_ASSOC: () = ();
const HIDDEN_ASSOC: () = ();
}