rustc_
hir_
typeck
1.83.0
(90b35a623 2024-11-26)
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
§