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

/src/test/compile-fail/wrong-ret-type.rs

http://github.com/jruderman/rust
Rust | 3 lines | 2 code | 0 blank | 1 comment | 0 complexity | 0daebec5cce0fe10593965e117c60a96 MD5 | raw file
1// error-pattern: mismatched types
2fn mk_int() -> uint { let i: int = 3; return i; }
3fn main() { }