summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/issue-116164.rs
blob: d30c8f514b3d6a5431439b9649999f5173155a67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#![allow(unused_imports)]

mod inner {
    pub enum Example {
        ExOne,
    }
}

mod reexports {
    pub use crate::inner::Example as _;
}

use crate::reexports::*;
//~^ SUGGESTION: use inner::Example::ExOne

fn main() {
    ExOne;
    //~^ ERROR: cannot find value `ExOne` in this scope
}