about summary refs log tree commit diff
path: root/tests/ui/panic-runtime/want-abort-got-unwind.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/panic-runtime/want-abort-got-unwind.rs')
-rw-r--r--tests/ui/panic-runtime/want-abort-got-unwind.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/ui/panic-runtime/want-abort-got-unwind.rs b/tests/ui/panic-runtime/want-abort-got-unwind.rs
index ad9fa52f3d4..76e15a1e16e 100644
--- a/tests/ui/panic-runtime/want-abort-got-unwind.rs
+++ b/tests/ui/panic-runtime/want-abort-got-unwind.rs
@@ -1,9 +1,12 @@
 //@ build-fail
 //@ dont-check-compiler-stderr
-//@ error-pattern:is not compiled with this crate's panic strategy `abort`
 //@ aux-build:panic-runtime-unwind.rs
 //@ compile-flags:-C panic=abort
 
 extern crate panic_runtime_unwind;
 
 fn main() {}
+
+//~? ERROR cannot link together two panic runtimes: panic_unwind and panic_runtime_unwind
+//~? ERROR the linked panic runtime `panic_runtime_unwind` is not compiled with this crate's panic strategy `abort`
+//~? ERROR the crate `panic_unwind` requires panic strategy `unwind` which is incompatible with this crate's strategy of `abort`