Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
0f30462efa750f26ffecdb7c6099d25f5cd97078
/
.
/
src
/
test
/
ui
/
rfc-2008-non-exhaustive
/
auxiliary
/
enums.rs
blob: 8516bafef9bd9e9f45f03e5cb34da55bc92fd71e [
file
] [
log
] [
blame
]
#![
crate_type
=
"rlib"
]
#[
non_exhaustive
]
pub
enum
NonExhaustiveEnum
{
Unit
,
Tuple
(
u32
),
Struct
{
field
:
u32
}
}
#[
non_exhaustive
]
pub
enum
EmptyNonExhaustiveEnum
{}