rust-clippy/clippy_tests/examples/empty_enum.stderr

18 lines
373 B
Text
Raw Normal View History

error: enum with no variants
--> empty_enum.rs:7:1
|
2017-02-08 13:58:07 +00:00
7 | enum Empty {}
| ^^^^^^^^^^^^^
|
= note: `-D empty-enum` implied by `-D warnings`
help: consider using the uninhabited type `!` or a wrapper around it
--> empty_enum.rs:7:1
|
2017-02-08 13:58:07 +00:00
7 | enum Empty {}
| ^^^^^^^^^^^^^
2017-07-03 04:37:30 +00:00
error: aborting due to previous error
To learn more, run the command again with --verbose.