rustc_
hir_
typeck
1.84.0-beta.4
(202008a1b 2024-12-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
§