diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-02-06 15:23:54 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-03-21 13:23:07 +0000 |
| commit | 41f1ed11c2ef656737af2b15a9f58e84421424bb (patch) | |
| tree | 055ce35f7dfa089023e64fbee100e50dfd2fae66 /compiler/rustc_driver_impl/messages.ftl | |
| parent | 7d3965e0cdc1614335e2c3d18234963bb0827160 (diff) | |
| download | rust-41f1ed11c2ef656737af2b15a9f58e84421424bb.tar.gz rust-41f1ed11c2ef656737af2b15a9f58e84421424bb.zip | |
Move some calls to before calling codegen_crate
`--emit mir`, `#[rustc_symbol_name]` and `#[rustc_def_path]` now run before codegen and thus work even if codegen fails. This can help with debugging.
Diffstat (limited to 'compiler/rustc_driver_impl/messages.ftl')
| -rw-r--r-- | compiler/rustc_driver_impl/messages.ftl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_driver_impl/messages.ftl b/compiler/rustc_driver_impl/messages.ftl index 05e11c4527f..2c6a0291ac2 100644 --- a/compiler/rustc_driver_impl/messages.ftl +++ b/compiler/rustc_driver_impl/messages.ftl @@ -1,3 +1,5 @@ +driver_impl_cant_emit_mir = could not emit MIR: {$error} + driver_impl_ice = the compiler unexpectedly panicked. this is a bug. driver_impl_ice_bug_report = we would appreciate a bug report: {$bug_report_url} driver_impl_ice_bug_report_internal_feature = using internal features is not supported and expected to cause internal compiler errors when used incorrectly |
