summary refs log tree commit diff
path: root/src/test/ui/parser/removed-syntax-fn-sigil.stderr
blob: 9303a67a8cc7b536cfa32c980fad8c75985c9c2f (plain)
1
2
3
4
5
6
7
8
9
10
error: expected `(`, found `~`
  --> $DIR/removed-syntax-fn-sigil.rs:2:14
   |
LL |     let x: fn~() = || (); //~ ERROR expected `(`, found `~`
   |         -    ^ expected `(`
   |         |
   |         while parsing the type for `x`

error: aborting due to previous error