Improve error message

This commit is contained in:
Vadim Petrochenkov 2015-11-09 22:16:30 +03:00
parent e6b14aab05
commit 2a01e263bc
2 changed files with 4 additions and 0 deletions

View file

@ -14,7 +14,9 @@
enum Foo {
Bar(), //~ ERROR empty tuple structs and enum variants are not allowed
//~^ HELP remove trailing () to make a unit struct or unit enum varian
Baz(), //~ ERROR empty tuple structs and enum variants are not allowed
//~^ HELP remove trailing () to make a unit struct or unit enum varian
Bazar
}