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

11 lines
242 B
Plaintext

error: expected `(`, found `~`
--> $DIR/removed-syntax-fn-sigil.rs:2:14
|
LL | let x: fn~() = || ();
| - ^ expected `(`
| |
| while parsing the type for `x`
error: aborting due to previous error