rust/tests/ui/fn/fn-bad-block-type.rs

6 lines
76 B
Rust

//@ error-pattern:mismatched types
fn f() -> isize { true }
fn main() { }