Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
feature-gates
/
feature-gate-non_exhaustive.rs
blob: b3e2e3d95f536b8c4e0b64f1a11b146e51b6261e [
file
] [
log
] [
blame
]
//#![feature(non_exhaustive)]
#[
non_exhaustive
]
//~ERROR non exhaustive is an experimental feature (see issue #44109)
pub
enum
NonExhaustiveEnum
{
Unit
,
Tuple
(
u32
),
Struct
{
field
:
u32
}
}
fn
main
()
{
}