rust/src/test/ui/parser/removed-syntax-fn-sigil.rs

4 lines
74 B
Rust

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