mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 06:43:20 +03:00
701e2f708b
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.