]> git.lizzy.rs Git - rust.git/blob - tests/ui/empty_enum.stderr
remove all //~ from tests
[rust.git] / tests / ui / empty_enum.stderr
1 error: enum with no variants
2  --> $DIR/empty_enum.rs:7:1
3   |
4 7 | enum Empty {}
5   | ^^^^^^^^^^^^^
6   |
7 note: lint level defined here
8  --> $DIR/empty_enum.rs:5:9
9   |
10 5 | #![deny(empty_enum)]
11   |         ^^^^^^^^^^
12 help: consider using the uninhabited type `!` or a wrapper around it
13  --> $DIR/empty_enum.rs:7:1
14   |
15 7 | enum Empty {}
16   | ^^^^^^^^^^^^^
17
18 error: aborting due to previous error
19