mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 09:05:00 +00:00
19 lines
426 B
Rust
19 lines
426 B
Rust
//@ check-pass
|
|
//@ edition: 2021
|
|
//@ aux-build: extern-with-ambiguous-2-extern.rs
|
|
|
|
extern crate extern_with_ambiguous_2_extern;
|
|
|
|
mod s {
|
|
pub mod error {
|
|
use extern_with_ambiguous_2_extern::*;
|
|
}
|
|
}
|
|
use s::*;
|
|
use extern_with_ambiguous_2_extern::*;
|
|
use error::*;
|
|
//^ FIXME: An ambiguity error should be thrown for `error`,
|
|
// as there is ambiguity present within `extern-with-ambiguous-2-extern.rs`.
|
|
|
|
fn main() {}
|