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

pub struct Foo;

mod bar {
    use Foo;

    impl Foo {
        fn baz(&self) {}
    }
}
fn main() {}