blob: 939990d744053597e86e842a78a0d963f282da46 (
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 1 previous error
|