PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/test/compile-fail/export-import.rs

http://github.com/jruderman/rust
Rust | 14 lines | 7 code | 6 blank | 1 comment | 0 complexity | 0ec078b8fa0822952bb885232fcc1466 MD5 | raw file
 1// error-pattern: import
 2
 3import m::unexported;
 4
 5mod m {
 6    export exported;
 7
 8    fn exported() { }
 9
10    fn unexported() { }
11}
12
13
14fn main() { unexported(); }