mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
10 lines
242 B
Text
10 lines
242 B
Text
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
|
|
|