diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-12-20 14:08:24 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-12-20 14:09:25 +0000 |
| commit | 701e2f708b95d508f90ffd5a3b234335662ae521 (patch) | |
| tree | eb11e840c219dc7f474ca9757287b01e4887c8ee /compiler/rustc_codegen_gcc | |
| parent | 8a1f8039a7ded79d3d4fe97b110016d89f2b11e2 (diff) | |
| download | rust-701e2f708b95d508f90ffd5a3b234335662ae521.tar.gz rust-701e2f708b95d508f90ffd5a3b234335662ae521.zip | |
Reduce the amount of explicit FatalError.raise()
Instead use dcx.abort_if_error() or guar.raise_fatal() instead. These guarantee that an error actually happened previously and thus we don't silently abort.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
