Show possible aliases in the expected message
Fixes tests
This commit is contained in:
parent
1efb8b6a53
commit
78fea3aa4a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user