about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-03-28 11:08:23 +0000
committerbors <bors@rust-lang.org>2022-03-28 11:08:23 +0000
commit0e4524e5b4a9c5656fef69f532f96eb9959a1803 (patch)
treef3b255fe605208ee5eafc4a41541eeada8a9e807 /compiler/rustc_codegen_llvm/src
parentb3e46a9763d86a1681ddaaf0e60ce537302b9c92 (diff)
parent928388bad20572e9ffa575319bb6d3b636bcdc69 (diff)
downloadrust-0e4524e5b4a9c5656fef69f532f96eb9959a1803.tar.gz
rust-0e4524e5b4a9c5656fef69f532f96eb9959a1803.zip
Auto merge of #94789 - compiler-errors:fatal-never, r=eddyb
Make fatal DiagnosticBuilder yield `!`

Fatal errors should really be fatal, so emitting them should cause us to exit at the same time.

Fine with just throwing away these changes if they're not worthwhile. Also, maybe we want to use an uninhabited enum instead of `!`.

r? `@eddyb` who has been working on `DiagnosticBuilder` stuff, feel free to reassign.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions