rust/tests/ui/missing/missing-return.rs
2024-02-16 20:02:50 +00:00

6 lines
67 B
Rust

//@ error-pattern: return
fn f() -> isize { }
fn main() { f(); }