File tree 2 files changed +2
-2
lines changed
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 =
391
391
392
392
passes_lang_item_fn_with_track_caller =
393
393
{ 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 ]`
395
395
396
396
passes_lang_item_on_incorrect_target =
397
397
`{ $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]
5
5
| ^^^^^^^^^^^^^^^
6
6
LL |
7
7
LL | 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 ]`
9
9
10
10
error: aborting due to 1 previous error
11
11
You can’t perform that action at this time.
0 commit comments