]> git.lizzy.rs Git - rust.git/blob - src/test/ui/changing-crates.rs
Move compile-fail tests with NOTE/HELP annotations to UI
[rust.git] / src / test / ui / changing-crates.rs
1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 // ignore-msvc FIXME #31306
12
13 // note that these aux-build directives must be in this order
14 // aux-build:changing-crates-a1.rs
15 // aux-build:changing-crates-b.rs
16 // aux-build:changing-crates-a2.rs
17
18 extern crate a;
19 extern crate b; //~ ERROR: found possibly newer version of crate `a` which `b` depends on
20 //~| NOTE: the following crate versions were found
21 //~| NOTE: perhaps that crate needs to be recompiled
22
23 fn main() {}