rust/tests/ui/parser/removed-syntax-fn-sigil.rs
2023-01-11 09:32:08 +00:00

3 lines
74 B
Rust

fn main() {
let x: fn~() = || (); //~ ERROR expected `(`, found `~`
}