mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
21 lines
325 B
Rust
21 lines
325 B
Rust
// check-pass
|
|
// edition:2018
|
|
// compile-flags:--extern edition_imports_2015
|
|
// aux-build:edition-imports-2015.rs
|
|
|
|
mod edition_imports_2015 {
|
|
pub struct Path;
|
|
}
|
|
|
|
pub struct Ambiguous {}
|
|
|
|
mod check {
|
|
pub struct Ambiguous {}
|
|
|
|
fn check() {
|
|
edition_imports_2015::gen_ambiguous!(); // OK
|
|
}
|
|
}
|
|
|
|
fn main() {}
|