mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
19 lines
270 B
Rust
19 lines
270 B
Rust
#![crate_type = "lib"]
|
|
|
|
pub struct Private { _priv: () }
|
|
|
|
#[non_exhaustive]
|
|
pub struct NonExhaustive {}
|
|
|
|
#[non_exhaustive]
|
|
pub enum NonExhaustiveEnum {}
|
|
|
|
pub enum NonExhaustiveVariant {
|
|
#[non_exhaustive]
|
|
A,
|
|
}
|
|
|
|
pub struct ExternalIndirection<T> {
|
|
pub x: T,
|
|
}
|