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

/src/test/run-pass/type-in-nested-module.rs

http://github.com/jruderman/rust
Rust | 11 lines | 7 code | 4 blank | 0 comment | 0 complexity | 4095723d3082af52af5bb7950922b5b3 MD5 | raw file
 1
 2
 3mod a {
 4    mod b {
 5        type t = int;
 6
 7        fn foo() { let x: t = 10; }
 8    }
 9}
10
11fn main() { }