1
Fork 0

Migrate weak_lang_items.rs

This commit is contained in:
rdvdev2 2022-08-22 10:05:13 +02:00 committed by Nathan Stocks
parent bde80f745b
commit 2f74d1d14f
3 changed files with 31 additions and 10 deletions

View file

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