Replace Symbol::intern calls with preinterned symbols
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user