mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
22 lines
469 B
Rust
22 lines
469 B
Rust
// edition:2018
|
|
// compile-flags:--extern issue_56125
|
|
// aux-build:issue-56125.rs
|
|
|
|
mod m1 {
|
|
use issue_56125::last_segment::*;
|
|
//~^ ERROR `issue_56125` is ambiguous
|
|
}
|
|
|
|
mod m2 {
|
|
use issue_56125::non_last_segment::non_last_segment::*;
|
|
//~^ ERROR `issue_56125` is ambiguous
|
|
}
|
|
|
|
mod m3 {
|
|
mod empty {}
|
|
use empty::issue_56125; //~ ERROR unresolved import `empty::issue_56125`
|
|
use issue_56125::*; //~ ERROR `issue_56125` is ambiguous
|
|
}
|
|
|
|
fn main() {}
|