summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-7607-2.rs
blob: 420a0ffd3cc4b38b08b7a7fafe3416896dfeab88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// check-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616

pub mod a {
    pub struct Foo { a: usize }
}

pub mod b {
    use a::Foo;
    impl Foo {
        fn bar(&self) { }
    }
}

pub fn main() { }