diff options
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.rs | 8 |
1 files changed, 8 insertions, 0 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 new file mode 100644 index 00000000000..d57f1643e98 --- /dev/null +++ b/tests/ui/panic-runtime/runtime-depend-on-needs-runtime.rs @@ -0,0 +1,8 @@ +// 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() {} |
