/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
- // error-pattern: import
- import m::unexported;
- mod m {
- export exported;
- fn exported() { }
- fn unexported() { }
- }
- fn main() { unexported(); }