rust/src/test/ui/parser/removed-syntax-fn-sigil.stderr

11 lines
276 B
Plaintext
Raw Normal View History

2018-10-20 23:36:17 +03:00
error: expected `(`, found `~`
2018-12-25 08:56:47 -07:00
--> $DIR/removed-syntax-fn-sigil.rs:4:14
2018-10-20 23:36:17 +03:00
|
LL | let x: fn~() = || (); //~ ERROR expected `(`, found `~`
| - ^ expected `(`
| |
| while parsing the type for `x`
error: aborting due to previous error