summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/auxiliary/issue-80079.rs
blob: 190ca75aba86a0fec6a7eadec4c7b2c2efdc17b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![crate_type = "lib"]

pub mod public {
    use private_import;

    // should not be suggested since it is private
    struct Foo;

    mod private_module {
        // should not be suggested since it is private
        pub struct Foo;
    }
}

mod private_import {
    // should not be suggested since it is private
    pub struct Foo;
}