summaryrefslogtreecommitdiffstats
path: root/src/test/ui/svh/svh-change-trait-bound.rs
blob: a4ba06eaf2ee5c3baa83aee9154e13383e517547 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// note that these aux-build directives must be in this order
// aux-build:svh-a-base.rs
// aux-build:svh-b.rs
// aux-build:svh-a-change-trait-bound.rs
// normalize-stderr-test: "(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() {
    b::foo()
}