mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-05 00:33:18 +00:00
15 lines
405 B
Plaintext
15 lines
405 B
Plaintext
error: missing parameters for function definition
|
|
--> $DIR/removed-syntax-fn-sigil.rs:2:14
|
|
|
|
|
LL | let x: fn~() = || ();
|
|
| ^ help: add a parameter list
|
|
|
|
error: expected one of `->`, `;`, or `=`, found `~`
|
|
--> $DIR/removed-syntax-fn-sigil.rs:2:14
|
|
|
|
|
LL | let x: fn~() = || ();
|
|
| ^ expected one of `->`, `;`, or `=`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|