rust/compiler/rustc_mir_build
Matthias Krüger 2f8867e03c
Rollup merge of #118962 - compiler-errors:bugs, r=TaKO8Ki
Annotate some bugs

Gives a semi-helpful message to some `bug!()`/`unreachable!()`/`panic!()`. This also works around some other bugs/panics/etc that weren't needed, and also makes some of them into `span_bug!`s so they also have a useful span.

Note to reviewer: best to disable whitespace when comparing for some cases where indentation changed.

cc #118955
2023-12-15 15:53:51 +01:00
..
src Rollup merge of #118962 - compiler-errors:bugs, r=TaKO8Ki 2023-12-15 15:53:51 +01:00
Cargo.toml Extract exhaustiveness into its own crate 2023-12-11 11:20:55 +01:00
messages.ftl Extract exhaustiveness into its own crate 2023-12-11 11:20:55 +01:00