Skip to content

Commit d8854f0

Browse files
authored
Fix copy-paste error in rust-lang#124067
Only one of the two mentions of the attribute were updated.
1 parent ec1b698 commit d8854f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_passes/messages.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ passes_lang_item_fn_with_target_feature =
399399
400400
passes_lang_item_fn_with_track_caller =
401401
{passes_lang_item_fn} is not allowed to have `#[track_caller]`
402-
.label = {passes_lang_item_fn} is not allowed to have `#[target_feature]`
402+
.label = {passes_lang_item_fn} is not allowed to have `#[track_caller]`
403403
404404
passes_lang_item_on_incorrect_target =
405405
`{$name}` lang item must be applied to a {$expected_target}

0 commit comments

Comments
 (0)