mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 13:13:40 +00:00
20 lines
317 B
Rust
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: () = ();
|
|
}
|