Add comment

This commit is contained in:
bjorn3 2021-04-16 20:55:51 +02:00
parent 15bfd9da85
commit 21f13afafe

View file

@ -182,6 +182,7 @@ impl<'tcx> MonoItem<'tcx> {
.map(|hir_id| tcx.hir().span(hir_id))
}
// Only used by rustc_codegen_cranelift
pub fn codegen_dep_node(&self, tcx: TyCtxt<'tcx>) -> DepNode {
crate::dep_graph::make_compile_mono_item(tcx, self)
}