rust/tests/ui/auxiliary/non-exhaustive-enum.rs

9 lines
169 B
Rust

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