]> git.lizzy.rs Git - rust.git/blob - clippy_tests/examples/empty_enum.stderr
486f0d83fa2589181333b2329ed5be6b7d5a15f2
[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 error: Could not compile `clippy_tests`.
17
18 To learn more, run the command again with --verbose.