Skip to content

Commit 39116f1

Browse files
committed
remove get_rustc_span
1 parent 8f8915d commit 39116f1

File tree

1 file changed

+0
-4
lines changed
  • compiler/rustc_smir/src/rustc_internal

1 file changed

+0
-4
lines changed

compiler/rustc_smir/src/rustc_internal/mod.rs

-4
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ pub fn impl_def(did: DefId) -> stable_mir::ty::ImplDef {
7373
with_tables(|t| t.impl_def(did))
7474
}
7575

76-
pub fn get_rustc_span(span: stable_mir::ty::Span) -> rustc_span::Span {
77-
with_tables(|t| t.spans[span.0])
78-
}
79-
8076
impl<'tcx> Index<stable_mir::DefId> for Tables<'tcx> {
8177
type Output = DefId;
8278

0 commit comments

Comments
 (0)