diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-12-15 15:53:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-15 15:53:51 +0100 |
| commit | 2f8867e03cd19e70456c271b19c4b8bdc7db5bda (patch) | |
| tree | 9be761bed645635a564ba0fde1e876502e91d738 /compiler/rustc_mir_transform/src/errors.rs | |
| parent | 4d1bd0db7f489b22c6d8aa2385937a95412c015b (diff) | |
| parent | 1cc0d7d56cbaadfdb2652c73a959edd91d7bd721 (diff) | |
| download | rust-2f8867e03cd19e70456c271b19c4b8bdc7db5bda.tar.gz rust-2f8867e03cd19e70456c271b19c4b8bdc7db5bda.zip | |
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
Diffstat (limited to 'compiler/rustc_mir_transform/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
