rust/tests/ui/parser/removed-syntax/removed-syntax-fn-sigil.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
153 B
Rust
Raw Normal View History

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