]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/auxiliary/non-exhaustive-enum.rs
Rollup merge of #104517 - dfordivam:patch-1, r=cuviper
[rust.git] / src / tools / clippy / tests / ui / auxiliary / non-exhaustive-enum.rs
1 // Stripped down version of the ErrorKind enum of std
2 #[non_exhaustive]
3 pub enum ErrorKind {
4     NotFound,
5     PermissionDenied,
6     #[doc(hidden)]
7     Uncategorized,
8 }