Function rustc_middle::util::bug::trigger_delay_span_bug
source · pub fn trigger_delay_span_bug(tcx: TyCtxt<'_>, key: DefId)
Expand description
A query to trigger a delay_span_bug
. Clearly, if one has a tcx
one can already trigger a
delay_span_bug
, so what is the point of this? It exists to help us test delay_span_bug
’s
interactions with the query system and incremental.