summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/removed-syntax-fn-sigil.stderr
blob: 196a5af47293882ecda998272a1f38f281e980dc (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~() = || ();
   |         -    ^ expected `(`
   |         |
   |         while parsing the type for `x`

error: aborting due to previous error