1
Fork 0

migrate the rest of weak_lang_items.rs to translateable diagnostics

This commit is contained in:
Nathan Stocks 2022-09-21 22:49:30 -06:00
parent 1222541cfd
commit c103c3059f
3 changed files with 15 additions and 20 deletions

View file

@ -358,6 +358,9 @@ passes_deprecated_annotation_has_no_effect =
this `#[deprecated]` annotation has no effect
.suggestion = remove the unnecessary deprecation attribute
passes_unknown_external_lang_item =
unknown external lang item: `{$lang_item}`
passes_missing_panic_handler =
`#[panic_handler]` function required, but not found
@ -384,6 +387,3 @@ passes_local_duplicate_lang_item =
passes_invalid_attr_at_crate_level =
`{$name}` attribute cannot be used at crate level
.suggestion = perhaps you meant to use an outer attribute
passes_deprecated_annotation_has_no_effect = this `#[deprecated]` annotation has no effect
.suggestion = remove the unnecessary deprecation attribute