1
Fork 0

Migrate derivable diagnostics in lang_items.rs

This commit is contained in:
rdvdev2 2022-09-02 00:11:44 +02:00 committed by Nathan Stocks
parent 2f74d1d14f
commit 17a4a68ab0
3 changed files with 37 additions and 22 deletions

View file

@ -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}`