about summary refs log tree commit diff
path: root/tests/ui/panic-runtime/runtime-depend-on-needs-runtime.rs
blob: eb00c071702c3a9959b939481af96e1cd3e94a6e (plain)
1
2
3
4
5
6
7
8
9
//@ dont-check-compiler-stderr
//@ aux-build:needs-panic-runtime.rs
//@ aux-build:depends.rs

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`