mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +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: () = ();
|
|
}
|