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