diff options
author | bors <bors@rust-lang.org> | 2022-03-28 11:08:23 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-03-28 11:08:23 +0000 |
commit | 0e4524e5b4a9c5656fef69f532f96eb9959a1803 (patch) | |
tree | f3b255fe605208ee5eafc4a41541eeada8a9e807 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | b3e46a9763d86a1681ddaaf0e60ce537302b9c92 (diff) | |
parent | 928388bad20572e9ffa575319bb6d3b636bcdc69 (diff) | |
download | rust-0e4524e5b4a9c5656fef69f532f96eb9959a1803.tar.gz |
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 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions