Skip to content

Commit

Permalink
Update empty_enum.stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Apr 19, 2020
1 parent 98a244f commit 7aeb3a4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/ui/empty_enum.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ LL | enum Empty {}
| ^^^^^^^^^^^^^
|
= note: `-D clippy::empty-enum` implied by `-D warnings`
help: consider using the uninhabited type `!` (never type) or a wrapper around it to introduce a type which can't be instantiated
--> $DIR/empty_enum.rs:4:1
|
LL | enum Empty {}
| ^^^^^^^^^^^^^
= help: consider using the uninhabited type `!` (never type) or a wrapper around it to introduce a type which can't be instantiated

error: aborting due to previous error

0 comments on commit 7aeb3a4

Please sign in to comment.