summaryrefslogtreecommitdiff
path: root/tests/ui/suggestions/type-ascription-instead-of-let.stderr
blob: 065b1f4d3538e9e44398ad4ae358f893adffefd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: expected identifier, found `:`
  --> $DIR/type-ascription-instead-of-let.rs:7:13
   |
LL |         temp: i32 = fun(5i32);
   |             ^ expected identifier
   |
help: you might have meant to introduce a new binding
   |
LL |         let temp: i32 = fun(5i32);
   |         +++

error: aborting due to previous error