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

/src/test/compile-fail/output-type-mismatch.rs

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