2023-07-26 09:46:49 -05:00
|
|
|
//@ 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::*;
|
2024-01-21 05:17:28 -06:00
|
|
|
//^ FIXME: An ambiguity error should be thrown for `error`,
|
|
|
|
// as there is ambiguity present within `extern-with-ambiguous-2-extern.rs`.
|
2023-07-26 09:46:49 -05:00
|
|
|
|
|
|
|
fn main() {}
|