summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/extern-with-ambiguous-1.rs
blob: 42c3c20686b368aaba536130df90e80582d54c1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// edition: 2021
// aux-build: extern-with-ambiguous-1-extern.rs

// `extern-with-ambiguous-1-extern.rs` doesn't has
// ambiguous, just for compare.

extern crate extern_with_ambiguous_1_extern;

mod s {
    pub mod error {
        use extern_with_ambiguous_1_extern::*;
    }
}
use s::*;
use extern_with_ambiguous_1_extern::*;
use error::*;
//~^ ERROR `error` is ambiguous

fn main() {}