rust/tests/ui/auxiliary/non-exhaustive-enum.rs
2021-07-01 11:47:56 +02:00

9 lines
169 B
Rust

// Stripped down version of the ErrorKind enum of std
#[non_exhaustive]
pub enum ErrorKind {
NotFound,
PermissionDenied,
#[doc(hidden)]
Uncategorized,
}