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_interface/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_interface/messages.ftl')
| -rw-r--r-- | compiler/rustc_interface/messages.ftl | 3 | 
1 files changed, 0 insertions, 3 deletions
| diff --git a/compiler/rustc_interface/messages.ftl b/compiler/rustc_interface/messages.ftl index adc7ed54e14..ffbe708ba8d 100644 --- a/compiler/rustc_interface/messages.ftl +++ b/compiler/rustc_interface/messages.ftl @@ -3,9 +3,6 @@ interface_abi_required_feature = .note = this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! interface_abi_required_feature_issue = for more information, see issue #116344 <https://github.com/rust-lang/rust/issues/116344> -interface_cant_emit_mir = - could not emit MIR: {$error} - interface_crate_name_does_not_match = `--crate-name` and `#[crate_name]` are required to match, but `{$crate_name}` != `{$attr_crate_name}` interface_crate_name_invalid = crate names cannot start with a `-`, but `{$crate_name}` has a leading hyphen | 
