diff options
| author | Ralf Jung <post@ralfj.de> | 2024-10-05 17:12:46 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-10-05 17:12:46 +0200 |
| commit | 8faf3722ac963a637265c3fb087fce08f9ceb163 (patch) | |
| tree | d6ba3f8af5591fa2b3295a3d7b27f2599c0d440a /compiler | |
| parent | f559d6188828b738ce7e7c2e4d99bf03111336d6 (diff) | |
fix typo in 'lang item with track_caller' message
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_passes/messages.ftl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_passes/messages.ftl b/compiler/rustc_passes/messages.ftl index 5369f54afb9..f2682acf8aa 100644 --- a/compiler/rustc_passes/messages.ftl +++ b/compiler/rustc_passes/messages.ftl @@ -391,7 +391,7 @@ passes_lang_item_fn_with_target_feature = passes_lang_item_fn_with_track_caller = {passes_lang_item_fn} is not allowed to have `#[track_caller]` - .label = {passes_lang_item_fn} is not allowed to have `#[target_feature]` + .label = {passes_lang_item_fn} is not allowed to have `#[track_caller]` passes_lang_item_on_incorrect_target = `{$name}` lang item must be applied to a {$expected_target} |
