summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/blind-item-mixed-use-item.rs
blob: 4a39054967b4a78b90d9b5bbba23e50bc6271659 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// run-pass
// pretty-expanded FIXME #23616

mod m {
    pub fn f<T>(_: T, _: ()) { }
    pub fn g<T>(_: T, _: ()) { }
}

const BAR: () = ();
struct Data;
use m::f;

fn main() {
    const BAR2: () = ();
    struct Data2;
    use m::g;

    f(Data, BAR);
    g(Data2, BAR2);
}