rust/compiler
Matthias Krüger 4dcc5a05ea
Rollup merge of #119715 - Nadrieril:graceful-type-error, r=compiler-errors
Exhaustiveness: abort on type error

This adds an error path to exhaustiveness checking so that we abort instead of ICEing when encountering a stray `ty::Error`.

Fixes https://github.com/rust-lang/rust/issues/119493
Fixes https://github.com/rust-lang/rust/issues/119778

r? `@compiler-errors`
2024-01-11 03:02:41 +01:00
..
2024-01-10 16:29:23 +00:00
2024-01-10 07:33:07 +11:00
2024-01-10 16:29:23 +00:00
2024-01-10 07:33:07 +11:00