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

11 lines
276 B
Plaintext
Raw Normal View History

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