summary refs log tree commit diff
path: root/src/test/compile-fail/export-import.rs
blob: f010abd6a16e3af23bbab12ad1c4a7baafc0195b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// error-pattern: import

import m::unexported;

mod m {
    export exported;

    fn exported() { }

    fn unexported() { }
}


fn main() { unexported(); }