rust/tests/ui/svh/changing-crates.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
357 B
Rust
Raw Normal View History

// 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-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() {}