PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/test/compile-fail/import2.rs

http://github.com/jruderman/rust
Rust | 7 lines | 6 code | 0 blank | 1 comment | 0 complexity | e4d384e261fe3fbb56f152b8ac6ec0cc MD5 | raw file
1// error-pattern: unresolved
2import baz::zed::bar;
3mod baz { }
4mod zed {
5    fn bar() { debug!{"bar3"}; }
6}
7fn main(args: ~[str]) { bar(); }