mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-12 23:41:03 +00:00
Test the new errors on conflicting enum tags
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user