Skip to content

Commit 21f13af

Browse files
committed
Add comment
1 parent 15bfd9d commit 21f13af

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_middle/src/mir

1 file changed

+1
-0
lines changed

compiler/rustc_middle/src/mir/mono.rs

+1
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ impl<'tcx> MonoItem<'tcx> {
182182
.map(|hir_id| tcx.hir().span(hir_id))
183183
}
184184

185+
// Only used by rustc_codegen_cranelift
185186
pub fn codegen_dep_node(&self, tcx: TyCtxt<'tcx>) -> DepNode {
186187
crate::dep_graph::make_compile_mono_item(tcx, self)
187188
}

0 commit comments

Comments
 (0)