16 lines
320 B
Rust
16 lines
320 B
Rust
// aux-build:crateresolve2-1.rs
|
|
// aux-build:crateresolve2-2.rs
|
|
// aux-build:crateresolve2-3.rs
|
|
// error-pattern:using multiple versions of crate `crateresolve2`
|
|
|
|
extern mod crateresolve2(vers = "0.1");
|
|
|
|
mod m {
|
|
#[legacy_exports];
|
|
extern mod crateresolve2(vers = "0.2");
|
|
}
|
|
|
|
fn main() {
|
|
let x: int = false;
|
|
}
|