Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
feature-gates
/
feature-gate-non_exhaustive.rs
blob: 950f170f4fd4168bb0cfdd6ba52e25623c21b153 [
file
] [
log
] [
blame
]
//#![feature(non_exhaustive)]
#[
non_exhaustive
]
//~ERROR the `#[non_exhaustive]` attribute is an experimental feature
pub
enum
NonExhaustiveEnum
{
Unit
,
Tuple
(
u32
),
Struct
{
field
:
u32
}
}
fn
main
()
{
}