mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
13 lines
468 B
Rust
13 lines
468 B
Rust
//@ aux-build:glob-conflict.rs
|
|
|
|
extern crate glob_conflict;
|
|
|
|
fn main() {
|
|
glob_conflict::f(); //~ ERROR cannot find function `f` in crate `glob_conflict`
|
|
//^ FIXME: `glob_conflict::f` should raise an
|
|
// ambiguity error instead of a not found error.
|
|
glob_conflict::glob::f(); //~ ERROR cannot find function `f` in module `glob_conflict::glob`
|
|
//^ FIXME: `glob_conflict::glob::f` should raise an
|
|
// ambiguity error instead of a not found error.
|
|
}
|