rust/src/test/compile-fail/cross-crate-glob-collision.rs

13 lines
260 B
Rust

// error-pattern:'member' is glob-imported from multiple different modules
// issue #482
use std;
// expecting swap to be defined in vec
import std::ivec::*;
import alternate_supplier::*;
mod alternate_supplier {
fn member() { }
}
fn main() { member() }