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

/src/test/compile-fail/fn-bad-block-type.rs

http://github.com/jruderman/rust
Rust | 5 lines | 2 code | 2 blank | 1 comment | 0 complexity | 39036ad11b0da450b6044b1e1fb3fa10 MD5 | raw file
1// error-pattern:mismatched types
2
3fn f() -> int { true }
4
5fn main() { }