diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-07 10:26:50 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-07 18:57:47 +1100 |
| commit | 97c157fe1e52eeabe14a64865b4731794a23393a (patch) | |
| tree | 6bed5941a6942e7992566ca79aded91819779fab /compiler/rustc_pattern_analysis/src | |
| parent | 83adf883a20fc7531e886996ce07b8555c943fba (diff) | |
| download | rust-97c157fe1e52eeabe14a64865b4731794a23393a.tar.gz rust-97c157fe1e52eeabe14a64865b4731794a23393a.zip | |
Tighten up `ErrorGuaranteed` handling.
- In `emit_producing_error_guaranteed`, only allow `Level::Error`. - In `emit_diagnostic`, only produce `ErrorGuaranteed` for `Level` and `DelayedBug`. (Not `Bug` or `Fatal`. They don't need it, because the relevant `emit` methods abort.) - Add/update various comments.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
