about summary refs log tree commit diff
path: root/tests/ui/svh/svh-change-type-ret.rs
blob: 76118dc9f696867bec3df19f13dca7142e12a593 (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-type-ret.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() {
    b::foo()
}