summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/auxiliary/non-exhaustive-enum.rs
blob: 420232f9f8d89706353f530900e223ed53a7187b (plain)
1
2
3
4
5
6
7
8
// Stripped down version of the ErrorKind enum of std
#[non_exhaustive]
pub enum ErrorKind {
    NotFound,
    PermissionDenied,
    #[doc(hidden)]
    Uncategorized,
}