summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/import-after-macro-expand-1.rs
blob: d7a8aaf2f2e258c1255963c1df3c154f6291712b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// check-pass
// https://github.com/rust-lang/rust/issues/56593#issue-388659456

struct Foo;

mod foo {
    use super::*;

    #[derive(Debug)]
    pub struct Foo;
}

mod bar {
    use super::foo::*;

    fn bar(_: Foo) {}
}

fn main() {}