about summary refs log tree commit diff
path: root/tests/ui/panic-runtime/runtime-depend-on-needs-runtime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/panic-runtime/runtime-depend-on-needs-runtime.rs')
-rw-r--r--tests/ui/panic-runtime/runtime-depend-on-needs-runtime.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/panic-runtime/runtime-depend-on-needs-runtime.rs b/tests/ui/panic-runtime/runtime-depend-on-needs-runtime.rs
index d0a82bd8507..eb00c071702 100644
--- a/tests/ui/panic-runtime/runtime-depend-on-needs-runtime.rs
+++ b/tests/ui/panic-runtime/runtime-depend-on-needs-runtime.rs
@@ -1,8 +1,9 @@
 //@ dont-check-compiler-stderr
 //@ aux-build:needs-panic-runtime.rs
 //@ aux-build:depends.rs
-//@ error-pattern:cannot depend on a crate that needs a panic runtime
 
 extern crate depends;
 
 fn main() {}
+
+//~? ERROR the crate `depends` cannot depend on a crate that needs a panic runtime, but it depends on `needs_panic_runtime`