about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-02-07 10:26:50 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-02-07 18:57:47 +1100
commit97c157fe1e52eeabe14a64865b4731794a23393a (patch)
tree6bed5941a6942e7992566ca79aded91819779fab /compiler/rustc_pattern_analysis/src
parent83adf883a20fc7531e886996ce07b8555c943fba (diff)
downloadrust-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