mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 02:53:43 +00:00
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`