We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Symbol::interner
compute_codegen_unit_name
1 parent 657ecdb commit 75130b0Copy full SHA for 75130b0
compiler/rustc_mir/src/monomorphize/partitioning/default.rs
@@ -357,9 +357,7 @@ fn compute_codegen_unit_name(
357
358
let components = def_path.data.iter().map(|part| match part.data.name() {
359
DefPathDataName::Named(name) => name,
360
- DefPathDataName::Anon { namespace } => {
361
- Symbol::intern(&format!("{{{{{}}}}}", namespace))
362
- }
+ DefPathDataName::Anon { .. } => unreachable!(),
363
});
364
365
let volatile_suffix = volatile.then_some("volatile");
0 commit comments