summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/auxiliary/wildcard_imports_helper.rs
blob: d75cdd625f9ec3de170ff6adae0bad84563d47e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
pub use crate::extern_exports::*;

pub fn extern_foo() {}
pub fn extern_bar() {}

pub struct ExternA;

pub mod inner {
    pub mod inner_for_self_import {
        pub fn inner_extern_foo() {}
        pub fn inner_extern_bar() {}
    }
}

mod extern_exports {
    pub fn extern_exported() {}
    pub struct ExternExportedStruct;
    pub enum ExternExportedEnum {
        A,
    }
}

pub mod prelude {
    pub mod v1 {
        pub struct PreludeModAnywhere;
    }
}