]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/empty_enum.stderr
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
[rust.git] / src / tools / clippy / tests / ui / empty_enum.stderr
1 error: enum with no variants
2   --> $DIR/empty_enum.rs:5:1
3    |
4 LL | enum Empty {}
5    | ^^^^^^^^^^^^^
6    |
7    = note: `-D clippy::empty-enum` implied by `-D warnings`
8    = help: consider using the uninhabited type `!` (never type) or a wrapper around it to introduce a type which can't be instantiated
9
10 error: aborting due to previous error
11