rust/tests/ui/extern/extern-crate-rename.rs

9 lines
132 B
Rust

//@ aux-build:m1.rs
//@ aux-build:m2.rs
extern crate m1;
extern crate m2 as m1; //~ ERROR is defined multiple times
fn main() {}