diff options
| author | Ralf Jung <post@ralfj.de> | 2025-04-07 07:18:31 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-07 07:18:31 +0000 |
| commit | f6e4d3bc5a22268292b620a570d47df2c204f9c6 (patch) | |
| tree | b451ad6d5c40298bbbf4b6bcd2c15e8776c1ccf8 /tests/ui/panic-handler/panic-handler-std.rs | |
| parent | 1a4e85a4e6ce99e4adf8f043fb9f2aa6b2e7ca94 (diff) | |
| parent | 6ac0120a60d543d9557d2affd334ba02704c9fb8 (diff) | |
Merge pull request #4252 from rust-lang/rustup-2025-04-07
Automatic Rustup
Diffstat (limited to 'tests/ui/panic-handler/panic-handler-std.rs')
| -rw-r--r-- | tests/ui/panic-handler/panic-handler-std.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ui/panic-handler/panic-handler-std.rs b/tests/ui/panic-handler/panic-handler-std.rs index 4eb05b5365f..f6a4b60461c 100644 --- a/tests/ui/panic-handler/panic-handler-std.rs +++ b/tests/ui/panic-handler/panic-handler-std.rs @@ -1,12 +1,11 @@ //@ normalize-stderr: "loaded from .*libstd-.*.rlib" -> "loaded from SYSROOT/libstd-*.rlib" -//@ error-pattern: found duplicate lang item `panic_impl` extern crate core; use core::panic::PanicInfo; #[panic_handler] -fn panic(info: PanicInfo) -> ! { +fn panic(info: PanicInfo) -> ! { //~ ERROR found duplicate lang item `panic_impl` loop {} } |
