rust/src/test/compile-fail/cross-crate-glob-collision.rs
2011-08-16 10:36:19 -07:00

13 lines
259 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::vec::*;
import alternate_supplier::*;
mod alternate_supplier {
fn member() { }
}
fn main() { member() }