mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-19 03:20:38 +00:00

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.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.