rustc_
hir_
typeck
1.85.0-nightly
(426d17342 2024-12-21)
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
§