Test the new errors on conflicting enum tags

This commit is contained in:
David Tolnay committed 2018-03-08 09:31:25 -08:00
1 parent f4b78e202a
commit f288a41768
3 files changed
+43 -1

No files matched your search

+1 -1
View File
@@ -229,7 +229,7 @@ fn check_adjacent_tag_conflict(cx: &Ctxt, cont: &Container) {
if type_tag == content_tag {
let message = format!(
"Enum tags `{}` for type and content conflict with each other",
"enum tags `{}` for type and content conflict with each other",
type_tag
);
cx.error(message);