summaryrefslogtreecommitdiff
path: root/tests/ui/imports/extern-with-ambiguous-3.rs
blob: c65fedbe2c1dfad39097dec64a18a8cdadfaa3be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//@ check-pass
//@ edition: 2021
//@ aux-build: extern-with-ambiguous-3-extern.rs
// https://github.com/rust-lang/rust/pull/113099#issuecomment-1643974121

extern crate extern_with_ambiguous_3_extern;

mod s {
    pub mod error {
        use extern_with_ambiguous_3_extern::*;
    }
}
use s::*;
use extern_with_ambiguous_3_extern::*;
use error::*;
//^ FIXME: An ambiguity error should be thrown for `error`,
// as there is ambiguity present within `extern-with-ambiguous-3-extern.rs`.

fn main() {}