/src/test/compile-fail/fn-bad-block-type.rs
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() { }
1// error-pattern:mismatched types 2 3fn f() -> int { true } 4 5fn main() { }