1
Fork 0
rust/compiler/rustc_mir_build/src
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
..
build Add DiagCtxt::delayed_bug. 2024-01-10 07:33:07 +11:00
thir Rollup merge of #119715 - Nadrieril:graceful-type-error, r=compiler-errors 2024-01-11 03:02:41 +01:00
check_unsafety.rs Handle context for const patterns correctly 2024-01-05 10:00:59 +00:00
errors.rs Rename some Diagnostic setters. 2024-01-03 19:40:20 +11:00
lib.rs Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
lints.rs rustc: hir().local_def_id_to_hir_id() -> tcx.local_def_id_to_hir_id() cleanup 2023-11-26 12:41:21 +03:00