mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
13 lines
357 B
Rust
13 lines
357 B
Rust
// 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()
|
|
}
|