Show possible aliases in the expected message

Fixes tests
This commit is contained in:
Mingun 2023-05-19 23:29:07 +05:00
parent 1efb8b6a53
commit 78fea3aa4a

View File

@ -2153,7 +2153,7 @@ fn deserialize_custom_identifier(
})
.collect();
let names = names_idents.iter().map(|(name, _, _)| name);
let names = names_idents.iter().flat_map(|(_, _, aliases)| aliases);
let names_const = if fallthrough.is_some() {
None