diff options
| author | Laurențiu Nicola <lnicola@dend.ro> | 2025-05-01 10:22:16 +0300 |
|---|---|---|
| committer | Laurențiu Nicola <lnicola@dend.ro> | 2025-05-01 10:22:16 +0300 |
| commit | 1c5de64814d72effc6890ca823fa4d248041a0bd (patch) | |
| tree | 9375885343e27ab26b20dfe5a3714e00d5d378d0 /tests/ui/panic-handler/panic-handler-wrong-location.rs | |
| parent | b01b98f9f0b350badf8390e7950759d78484622d (diff) | |
| parent | 6e23095adf9209614a45f7f75fea36dad7b92afb (diff) | |
| download | rust-1c5de64814d72effc6890ca823fa4d248041a0bd.tar.gz rust-1c5de64814d72effc6890ca823fa4d248041a0bd.zip | |
Merge from rust-lang/rust
Diffstat (limited to 'tests/ui/panic-handler/panic-handler-wrong-location.rs')
| -rw-r--r-- | tests/ui/panic-handler/panic-handler-wrong-location.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ui/panic-handler/panic-handler-wrong-location.rs b/tests/ui/panic-handler/panic-handler-wrong-location.rs index c91580ae0c4..8fff7067136 100644 --- a/tests/ui/panic-handler/panic-handler-wrong-location.rs +++ b/tests/ui/panic-handler/panic-handler-wrong-location.rs @@ -4,7 +4,6 @@ #![no_main] #[panic_handler] //~ ERROR `panic_impl` lang item must be applied to a function -#[no_mangle] static X: u32 = 42; //~? ERROR `#[panic_handler]` function required, but not found |
