]> git.lizzy.rs Git - rust.git/blob - tests/ui/empty_enum.stderr
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / empty_enum.stderr
1 error: enum with no variants
2   --> $DIR/empty_enum.rs:13: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 `!` or a wrapper around it
9   --> $DIR/empty_enum.rs:13:1
10    |
11 LL | enum Empty {}
12    | ^^^^^^^^^^^^^
13
14 error: aborting due to previous error
15