rust/tests/ui/typeck/call-block.rs

4 lines
81 B
Rust

fn main() {
let _ = {42}(); //~ ERROR expected function, found `{integer}`
}