We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
kw::Empty
1 parent f3847f0 commit 2b43e66Copy full SHA for 2b43e66
compiler/rustc_symbol_mangling/src/v0.rs
@@ -776,7 +776,7 @@ impl<'tcx> Printer<'tcx> for SymbolMangler<'tcx> {
776
self.push_disambiguator(
777
disambiguated_field.disambiguator as u64,
778
);
779
- self.push_ident(field_name.unwrap_or(kw::Empty).as_str());
+ self.push_ident(field_name.unwrap().as_str());
780
781
field.print(self)?;
782
}
0 commit comments