]> git.lizzy.rs Git - rust.git/blob - clippy_tests/examples/empty_enum.stderr
Fix the test suite after cargo update
[rust.git] / clippy_tests / examples / empty_enum.stderr
1 error: enum with no variants
2  --> empty_enum.rs:7:1
3   |
4 7 | enum Empty {}
5   | ^^^^^^^^^^^^^
6   |
7   = note: `-D empty-enum` implied by `-D warnings`
8 help: consider using the uninhabited type `!` or a wrapper around it
9  --> empty_enum.rs:7:1
10   |
11 7 | enum Empty {}
12   | ^^^^^^^^^^^^^
13
14 error: aborting due to previous error(s)
15
16
17 To learn more, run the command again with --verbose.