about summary refs log tree commit diff
path: root/tests/ui/panic-handler/panic-handler-missing.rs
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-04-07 12:37:32 +0800
committerGitHub <noreply@github.com>2025-04-07 12:37:32 +0800
commit30fb3d9da35ff8336aa327e5075c5a2b7c0d6c60 (patch)
tree2478093c3b93e98d9a90c99a012c6862eedd96f3 /tests/ui/panic-handler/panic-handler-missing.rs
parent1ec36e12e86ec798d2d38efa074705a71e0dee47 (diff)
parent5a28e1e8de868757716d97aa0c0c1d7764122c32 (diff)
downloadrust-30fb3d9da35ff8336aa327e5075c5a2b7c0d6c60.tar.gz
rust-30fb3d9da35ff8336aa327e5075c5a2b7c0d6c60.zip
Merge pull request #2291 from rust-lang/rustc-pull
Rustc pull update
Diffstat (limited to 'tests/ui/panic-handler/panic-handler-missing.rs')
-rw-r--r--tests/ui/panic-handler/panic-handler-missing.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/panic-handler/panic-handler-missing.rs b/tests/ui/panic-handler/panic-handler-missing.rs
index 09fbd9a69cf..ab617f93a99 100644
--- a/tests/ui/panic-handler/panic-handler-missing.rs
+++ b/tests/ui/panic-handler/panic-handler-missing.rs
@@ -1,5 +1,4 @@
 //@ dont-check-compiler-stderr
-//@ error-pattern: `#[panic_handler]` function required, but not found
 
 #![feature(lang_items)]
 #![no_main]
@@ -7,3 +6,5 @@
 
 #[lang = "eh_personality"]
 fn eh() {}
+
+//~? ERROR `#[panic_handler]` function required, but not found