]> git.lizzy.rs Git - rust.git/blob - tests/ui/empty_enum.stderr
Move MSRV tests into the lint specific test files
[rust.git] / 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    = help: consider using the uninhabited type `!` (never type) or a wrapper around it to introduce a type which can't be instantiated
8    = note: `-D clippy::empty-enum` implied by `-D warnings`
9
10 error: aborting due to previous error
11