diff options
| author | rdvdev2 <rdvdev2@gmail.com> | 2022-09-02 00:11:44 +0200 |
|---|---|---|
| committer | Nathan Stocks <cleancut@github.com> | 2022-10-07 13:19:27 -0600 |
| commit | 17a4a68ab0ffa0e8736d5ccf71f6e56794a0320a (patch) | |
| tree | ac4534e3ef9889e0b46398b809a1ce51495e8959 /compiler/rustc_error_messages | |
| parent | 2f74d1d14ff08bfc5995ba1379840e5bd3f30efb (diff) | |
| download | rust-17a4a68ab0ffa0e8736d5ccf71f6e56794a0320a.tar.gz rust-17a4a68ab0ffa0e8736d5ccf71f6e56794a0320a.zip | |
Migrate derivable diagnostics in lang_items.rs
Diffstat (limited to 'compiler/rustc_error_messages')
| -rw-r--r-- | compiler/rustc_error_messages/locales/en-US/passes.ftl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/compiler/rustc_error_messages/locales/en-US/passes.ftl b/compiler/rustc_error_messages/locales/en-US/passes.ftl index bfe22727483..6512af1d14c 100644 --- a/compiler/rustc_error_messages/locales/en-US/passes.ftl +++ b/compiler/rustc_error_messages/locales/en-US/passes.ftl @@ -280,3 +280,11 @@ passes_missing_alloc_error_handler = `#[alloc_error_handler]` function required, passes_missing_lang_item = language item required, but not found: `{$name}` .note = this can occur when a binary crate with `#![no_std]` is compiled for a target where `{$name}` is defined in the standard library .help = you may be able to compile for a target that doesn't need `{$name}`, specify a target with `--target` or in `.cargo/config` + +passes_lang_item_on_incorrect_target = `{$name}` language item must be applied to a {$expected_target} + .label = attribute should be applied to a {$expected_target}, not a {$actual_target} + +passes_unknown_lang_item = definition of an unknown language item: `{$name}` + .label = definition of unknown language item `{$name}` + +passes_local_duplicate_lang_item = found duplicate lang item `{$name}` |
