Files
rust/tests/ui/parser/removed-syntax/removed-syntax-fn-sigil.rs
2024-01-17 22:17:44 +00:00

5 lines
153 B
Rust

fn main() {
let x: fn~() = || (); //~ ERROR missing parameters for function definition
//~| ERROR expected one of `->`, `;`, or `=`, found `~`
}