rustc_middle::util::bug

Function trigger_delayed_bug

Source
pub fn trigger_delayed_bug(tcx: TyCtxt<'_>, key: DefId)
Expand description

A query to trigger a delayed bug. Clearly, if one has a tcx one can already trigger a delayed bug, so what is the point of this? It exists to help us test the interaction of delayed bugs with the query system and incremental.