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.
1 parent 7279cc0 commit 369a8acCopy full SHA for 369a8ac
compiler/rustc_metadata/src/rmeta/decoder.rs
@@ -778,6 +778,26 @@ impl MetadataBlob {
778
}
779
write!(out, "\n")?;
780
781
+ writeln!(out, "\n=Lang items=")?;
782
+ for (id, lang_item) in root.lang_items.decode(self) {
783
+ writeln!(
784
+ out,
785
+ "{} = crate{}",
786
+ lang_item.name(),
787
+ DefPath::make(LOCAL_CRATE, id, |parent| root
788
+ .tables
789
+ .def_keys
790
+ .get(self, parent)
791
+ .unwrap()
792
+ .decode(self))
793
+ .to_string_no_crate_verbose()
794
+ )?;
795
+ }
796
+ for lang_item in root.lang_items_missing.decode(self) {
797
+ writeln!(out, "{} = <missing>", lang_item.name())?;
798
799
+ write!(out, "\n")?;
800
+
801
Ok(())
802
803
0 commit comments