rust
rust copied to clipboard
Store backtrace for `must_produce_diag`
This makes it significantly easier to debug a must_produce_diag ICE, since we have no other way to know where the heck the bug originates from.
Backtrace rendering kinda sucks right now since we're just printing it in the panic message; happy to apply some suggestions to make it prettier or reuse other bug printing machinery, but also don't want to iterate too much on the rendering since this really is just for debug purposes.
r? nnethercote
r=me after the suggestion above is considered.
@bors r=nnethercote
:pushpin: Commit 73fc17054490b246ee3e3c2cf515a1c850a3a4a5 has been approved by nnethercote
It is now in the queue for this repository.