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() { }