Skip to content

Commit

Permalink
Fix copy-paste error in #124067
Browse files Browse the repository at this point in the history
Only one of the two mentions of the attribute were updated.
  • Loading branch information
riking authored May 8, 2024
1 parent ec1b698 commit d8854f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_passes/messages.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,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}
Expand Down

0 comments on commit d8854f0

Please sign in to comment.