rustc_
hir_
typeck
1.82.0
(f6e511eec 2024-10-15)
Locatable
Required Methods
to_span
Implementations on Foreign Types
HirId
Span
Implementors
In rustc_
hir_
typeck::
writeback
Trait
rustc_hir_typeck
::
writeback
::
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
§