blob: 31c234b9250fc6fc68c3b30ea3ae643cadbc06ca [file] [log] [blame] [edit]
//@ aux-build:glob-conflict-cross-crate-2-extern.rs
extern crate glob_conflict_cross_crate_2_extern;
mod a {
pub type C = i32;
}
use glob_conflict_cross_crate_2_extern::*;
use a::*;
fn main() {
let _a: C = 1;
//~^ ERROR `C` is ambiguous
//~| ERROR `C` is ambiguous
//~| WARN this was previously accepted
//~| WARN this was previously accepted
}