/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
- // error-pattern:mismatched types
- fn f() -> int { true }
- fn main() { }