blob: 5fc55efff0a30adb00dcf3150b0328827e25eada (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
error: expected `:`, found `=`
--> $DIR/issue-57684.rs:27:20
|
LL | let _ = X { f1 = 5 };
| ^
|
help: replace equals symbol with a colon
|
LL - let _ = X { f1 = 5 };
LL + let _ = X { f1: 5 };
|
error: expected `:`, found `=`
--> $DIR/issue-57684.rs:32:12
|
LL | f1 = 5,
| ^
|
help: replace equals symbol with a colon
|
LL - f1 = 5,
LL + f1: 5,
|
error: aborting due to 2 previous errors
|