Include Decode aliases

This commit is contained in:
Ayaz Hafiz 2022-08-01 13:17:00 -05:00
parent 4bbc6b74fc
commit 57c1bed218
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -4479,7 +4479,7 @@ fn canonicalize_and_constrain<'a>(
Vacant(vacant) => {
let should_include_builtin = matches!(
name.module_id(),
ModuleId::ENCODE | ModuleId::DICT | ModuleId::SET
ModuleId::ENCODE | ModuleId::DECODE | ModuleId::DICT | ModuleId::SET
);
if !name.is_builtin() || should_include_builtin {