1
1
error: expected expression, found `:`
2
2
--> $DIR/issue-91461.rs:2:8
3
+ <<<<<<< HEAD
3
4
|
4
5
LL | a(_:b:,)
5
6
| ^ expected expression
@@ -21,15 +22,81 @@ LL | a(_:b:,)
21
22
22
23
error: expected identifier, found reserved identifier `_`
23
24
--> $DIR/issue-91461.rs:2:7
25
+ =======
26
+ >>>>>>> a78747cc579d1299cf9a7941bd56ad9370a1a851
24
27
|
25
28
LL | a(_:b:,)
26
- | ^ expected identifier, found reserved identifier
29
+ | ^ expected expression
30
+ |
31
+ help: if this is a parameter, remove the name for the parameter
32
+ |
33
+ LL - a(_:b:,)
34
+ LL + a(b:,)
35
+ |
27
36
28
37
error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `:`
29
38
--> $DIR/issue-91461.rs:2:10
30
39
|
31
40
LL | a(_:b:,)
41
+ <<<<<<< HEAD
32
42
| ^ expected one of 8 possible tokens
33
43
34
44
error: aborting due to 4 previous errors
45
+ =======
46
+ | ^
47
+ | |
48
+ | expected one of `)`, `,`, `.`, `?`, or an operator
49
+ | help: missing `,`
50
+
51
+ error: expected one of `)` or `,`, found `b`
52
+ --> $DIR/issue-91461.rs:2:9
53
+ |
54
+ LL | a(_:b:,)
55
+ | ^
56
+ | |
57
+ | expected one of `)` or `,`
58
+ | help: missing `,`
59
+ >>>>>>> a78747cc579d1299cf9a7941bd56ad9370a1a851
60
+
61
+ error: expected expression, found `:`
62
+ --> $DIR/issue-91461.rs:2:10
63
+ |
64
+ LL | a(_:b:,)
65
+ | ^ expected expression
66
+ |
67
+ help: if this is a parameter, remove the name for the parameter
68
+ |
69
+ LL - a(_:b:,)
70
+ LL + a(_:,)
71
+ |
72
+
73
+ error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `:`
74
+ --> $DIR/issue-91461.rs:2:10
75
+ |
76
+ LL | a(_:b:,)
77
+ | ^
78
+ | |
79
+ | expected one of 8 possible tokens
80
+ | help: missing `,`
81
+
82
+ error[E0425]: cannot find value `b` in this scope
83
+ --> $DIR/issue-91461.rs:2:9
84
+ |
85
+ LL | a(_:b:,)
86
+ | ^ not found in this scope
87
+
88
+ error: in expressions, `_` can only be used on the left-hand side of an assignment
89
+ --> $DIR/issue-91461.rs:2:7
90
+ |
91
+ LL | a(_:b:,)
92
+ | ^ `_` not allowed here
93
+
94
+ error[E0425]: cannot find function `a` in this scope
95
+ --> $DIR/issue-91461.rs:2:5
96
+ |
97
+ LL | a(_:b:,)
98
+ | ^ not found in this scope
99
+
100
+ error: aborting due to 8 previous errors
35
101
102
+ For more information about this error, try `rustc --explain E0425`.
0 commit comments