16e5760564
At some point, a refactor broke the code that handled local declarations to no longer descend into the initializer expressions. Closes #1846
14 lines
251 B
Rust
14 lines
251 B
Rust
// error-pattern: is glob-imported from multiple different modules
|
|
// issue #482
|
|
|
|
use std;
|
|
// expecting swap to be defined in vec
|
|
import vec::*;
|
|
import alternate_supplier::*;
|
|
|
|
mod alternate_supplier {
|
|
fn contains() { }
|
|
}
|
|
|
|
fn main() { contains() }
|