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

use m::unexported;

mod m {
    #[legacy_exports];
    export exported;

    fn exported() { }

    fn unexported() { }
}


fn main() { unexported(); }