diff options
| author | rdvdev2 <rdvdev2@gmail.com> | 2022-08-22 10:05:13 +0200 |
|---|---|---|
| committer | Nathan Stocks <cleancut@github.com> | 2022-10-07 13:19:26 -0600 |
| commit | 2f74d1d14ff08bfc5995ba1379840e5bd3f30efb (patch) | |
| tree | d4074bcf81f582a0fe1626fe4a9376881a181702 /compiler/rustc_error_messages | |
| parent | bde80f745b86750a31294013fef590dd9e6965c3 (diff) | |
| download | rust-2f74d1d14ff08bfc5995ba1379840e5bd3f30efb.tar.gz rust-2f74d1d14ff08bfc5995ba1379840e5bd3f30efb.zip | |
Migrate weak_lang_items.rs
Diffstat (limited to 'compiler/rustc_error_messages')
| -rw-r--r-- | compiler/rustc_error_messages/locales/en-US/passes.ftl | 9 |
1 files changed, 9 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 995ad4fe258..bfe22727483 100644 --- a/compiler/rustc_error_messages/locales/en-US/passes.ftl +++ b/compiler/rustc_error_messages/locales/en-US/passes.ftl @@ -271,3 +271,12 @@ passes_collapse_debuginfo = `collapse_debuginfo` attribute should be applied to passes_deprecated_annotation_has_no_effect = this `#[deprecated]` annotation has no effect .suggestion = remove the unnecessary deprecation attribute + +passes_missing_panic_handler = `#[panic_handler]` function required, but not found + +passes_missing_alloc_error_handler = `#[alloc_error_handler]` function required, but not found + .note = use `#![feature(default_alloc_error_handler)]` for a default error handler + +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` |
