Closed
Description
Currently, ICEs are effectively ignored by UI tests. This means both that we can miss ICEs and that tests can change confusingly — it's only obvious that an ICE has occurred if the test is run manually. The output for ICEs in UI tests should be more obvious, and should cause the test to fail, regardless of the .stderr
file.
src/test/ui/issue-50585.rs
currently fails with an ICE, but this is not reflected anywhere, for example.