1
Fork 0

Replace Symbol::intern calls with preinterned symbols

This commit is contained in:
clubby789 2024-11-27 17:52:57 +00:00
parent 72d2db7bf4
commit 71b698c0b8
15 changed files with 40 additions and 35 deletions

View file

@ -2270,7 +2270,7 @@ fn module_to_string(module: Module<'_>) -> Option<String> {
collect_mod(names, parent);
}
} else {
names.push(Symbol::intern("<opaque>"));
names.push(sym::opaque_module_name_placeholder);
collect_mod(names, module.parent.unwrap());
}
}