File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -391,7 +391,7 @@ passes_lang_item_fn_with_target_feature =
391391
392392passes_lang_item_fn_with_track_caller =
393393 { passes_lang_item_fn } is not allowed to have `#[track_caller]`
394- .label = { passes_lang_item_fn } is not allowed to have `#[target_feature ]`
394+ .label = { passes_lang_item_fn } is not allowed to have `#[track_caller ]`
395395
396396passes_lang_item_on_incorrect_target =
397397 `{ $name } ` lang item must be applied to a { $expected_target }
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ LL | #[track_caller]
55 | ^^^^^^^^^^^^^^^
66LL |
77LL | fn panic(info: &PanicInfo) -> ! {
8- | ------------------------------- `#[panic_handler]` function is not allowed to have `#[target_feature ]`
8+ | ------------------------------- `#[panic_handler]` function is not allowed to have `#[track_caller ]`
99
1010error: aborting due to 1 previous error
1111
You can’t perform that action at this time.
0 commit comments