Skip to content

Commit 7aeb3a4

Browse files
committed
Update empty_enum.stderr
1 parent 98a244f commit 7aeb3a4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/ui/empty_enum.stderr

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ LL | enum Empty {}
55
| ^^^^^^^^^^^^^
66
|
77
= 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-
--> $DIR/empty_enum.rs:4:1
10-
|
11-
LL | enum Empty {}
12-
| ^^^^^^^^^^^^^
8+
= help: consider using the uninhabited type `!` (never type) or a wrapper around it to introduce a type which can't be instantiated
139

1410
error: aborting due to previous error
1511

0 commit comments

Comments
 (0)