diff options
| author | bors <bors@rust-lang.org> | 2023-11-07 06:42:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-07 06:42:20 +0000 |
| commit | 504f63efb0d5dd4cc22f5a43460b3b343d959b27 (patch) | |
| tree | 2559ac5645770da315043bd17d471829f8ecdb42 /compiler/rustc_parse/src/errors.rs | |
| parent | 4e0fb98a5c41be1227845219b81ab147708fd99a (diff) | |
| parent | 5a9f07cc97ba09a05820f19a50b79620bd95a5ff (diff) | |
| download | rust-504f63efb0d5dd4cc22f5a43460b3b343d959b27.tar.gz rust-504f63efb0d5dd4cc22f5a43460b3b343d959b27.zip | |
Auto merge of #117418 - compiler-errors:better_error_body, r=oli-obk
Build a better MIR body when errors are encountered Doesn't really have much of an effect on its own, but it does lead to a less confusing phony MIR body being generated when an error is detected during THIR/MIR/match building. This was quite confusing when I hacked `-Zunpretty=mir` to emit `mir_built` rather than `instance_mir`. This coincidentually also fixes #117413, but not as generally as #117416. cc `@Nadrieril`
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
