about summary refs log tree commit diff
path: root/tests/ui/svh/changing-crates.rs
blob: 39a6473c8d916ea30fa8c576590828a8592e014e (plain)
1
2
3
4
5
6
7
8
9
10
// note that these aux-build directives must be in this order
//@ aux-build:changing-crates-a1.rs
//@ aux-build:changing-crates-b.rs
//@ aux-build:changing-crates-a2.rs
//@ normalize-stderr: "(crate `(\w+)`:) .*" -> "$1 $$PATH_$2"

extern crate a;
extern crate b; //~ ERROR: found possibly newer version of crate `a` which `b` depends on

fn main() {}