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 /tests/ui/panic-handler | |
| parent | f559d6188828b738ce7e7c2e4d99bf03111336d6 (diff) | |
| download | rust-8faf3722ac963a637265c3fb087fce08f9ceb163.tar.gz rust-8faf3722ac963a637265c3fb087fce08f9ceb163.zip | |
fix typo in 'lang item with track_caller' message
Diffstat (limited to 'tests/ui/panic-handler')
| -rw-r--r-- | tests/ui/panic-handler/panic-handler-with-track-caller.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/panic-handler/panic-handler-with-track-caller.stderr b/tests/ui/panic-handler/panic-handler-with-track-caller.stderr index 9ed387fc8d1..605567acdb5 100644 --- a/tests/ui/panic-handler/panic-handler-with-track-caller.stderr +++ b/tests/ui/panic-handler/panic-handler-with-track-caller.stderr @@ -5,7 +5,7 @@ LL | #[track_caller] | ^^^^^^^^^^^^^^^ LL | LL | fn panic(info: &PanicInfo) -> ! { - | ------------------------------- `#[panic_handler]` function is not allowed to have `#[target_feature]` + | ------------------------------- `#[panic_handler]` function is not allowed to have `#[track_caller]` error: aborting due to 1 previous error |
