rust/tests/ui/issues/issue-15965.rs

8 lines
103 B
Rust

fn main() {
return
{ return () }
//~^ ERROR type annotations needed [E0282]
()
;
}