Function rustc_query_impl::make_query::source_span [−][src]
pub fn source_span<'tcx>(
tcx: QueryCtxt<'tcx>,
key: source_span<'tcx>
) -> QueryStackFrame
Expand description
Return the span for a definition.
Contrary to def_span
below, this query returns the full absolute span of the definition.
This span is meant for dep-tracking rather than diagnostics. It should not be used outside
of rustc_middle::hir::source_map.