Function ra_ap_hir_expand::span_for_offset
source · pub fn span_for_offset(
db: &dyn ExpandDatabase,
exp_map: &ExpansionSpanMap,
offset: TextSize
) -> (FileRange, SyntaxContextId)
Expand description
Looks up the span at the given offset.