When compiling a delay_span_bug testcase (e.g. the last snippet in #63154 (comment) on the current nightly, or any of the other examples in that issue on older compilers) with -Cincremental (or Cargo which does that by default), only the initial run will ICE.
Subsequent runs will succeed without an ICE, in the absence of any regular errors. However, changing the relevant code (e.g. adding a space) can cause the query that calls delay_span_bug to be recomputed and bring the ICE back.
IIUC, incremental compilation stores diagnostics and replays them on subsequent runs, but that appears to not apply to delay_span_bug ICEs.
cc @michaelwoerister
When compiling a
delay_span_bugtestcase (e.g. the last snippet in #63154 (comment) on the current nightly, or any of the other examples in that issue on older compilers) with-Cincremental(or Cargo which does that by default), only the initial run will ICE.Subsequent runs will succeed without an ICE, in the absence of any regular errors. However, changing the relevant code (e.g. adding a space) can cause the query that calls
delay_span_bugto be recomputed and bring the ICE back.IIUC, incremental compilation stores diagnostics and replays them on subsequent runs, but that appears to not apply to
delay_span_bugICEs.cc @michaelwoerister