Skip to main content
Locatable
rustc_
hir_
typeck
1.96.0-nightly
(e370b60cf 2026-03-07)
Locatable
Required Methods
to_span
Implementations on Foreign Types
HirId
Span
Implementors
In rustc_
hir_
typeck::
writeback
rustc_hir_typeck
::
writeback
Trait
Locatable
Copy item path
Source
pub(crate) trait Locatable { // Required method fn
to_span
(&self, tcx: TyCtxt<'_>) ->
Span
; }
Required Methods
§
Source
fn
to_span
(&self, tcx: TyCtxt<'_>) ->
Span
Implementations on Foreign Types
§
Source
§
impl
Locatable
for
HirId
Source
§
fn
to_span
(&self, tcx: TyCtxt<'_>) ->
Span
Source
§
impl
Locatable
for
Span
Source
§
fn
to_span
(&self, _: TyCtxt<'_>) ->
Span
Implementors
§