We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f8915d commit 39116f1Copy full SHA for 39116f1
compiler/rustc_smir/src/rustc_internal/mod.rs
@@ -73,10 +73,6 @@ pub fn impl_def(did: DefId) -> stable_mir::ty::ImplDef {
73
with_tables(|t| t.impl_def(did))
74
}
75
76
-pub fn get_rustc_span(span: stable_mir::ty::Span) -> rustc_span::Span {
77
- with_tables(|t| t.spans[span.0])
78
-}
79
-
80
impl<'tcx> Index<stable_mir::DefId> for Tables<'tcx> {
81
type Output = DefId;
82
0 commit comments