/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
- mod a {
- mod b {
- type t = int;
- fn foo() { let x: t = 10; }
- }
- }
- fn main() { }