@@ -62,7 +62,7 @@ LL | if true || let 0 = 0 {}
62
62
|
63
63
= note: only supported directly in conditions of `if` and `while` expressions
64
64
= note: as well as when nested within `&&` and parentheses in those conditions
65
- note: `||` operators are not allowed in let chain expressions
65
+ note: `||` operators are not currently supported in let chain expressions
66
66
--> $DIR/disallowed-positions.rs:47:13
67
67
|
68
68
LL | if true || let 0 = 0 {}
@@ -76,7 +76,7 @@ LL | if (true || let 0 = 0) {}
76
76
|
77
77
= note: only supported directly in conditions of `if` and `while` expressions
78
78
= note: as well as when nested within `&&` and parentheses in those conditions
79
- note: `||` operators are not allowed in let chain expressions
79
+ note: `||` operators are not currently supported in let chain expressions
80
80
--> $DIR/disallowed-positions.rs:48:14
81
81
|
82
82
LL | if (true || let 0 = 0) {}
@@ -90,7 +90,7 @@ LL | if true && (true || let 0 = 0) {}
90
90
|
91
91
= note: only supported directly in conditions of `if` and `while` expressions
92
92
= note: as well as when nested within `&&` and parentheses in those conditions
93
- note: `||` operators are not allowed in let chain expressions
93
+ note: `||` operators are not currently supported in let chain expressions
94
94
--> $DIR/disallowed-positions.rs:49:22
95
95
|
96
96
LL | if true && (true || let 0 = 0) {}
@@ -104,7 +104,7 @@ LL | if true || (true && let 0 = 0) {}
104
104
|
105
105
= note: only supported directly in conditions of `if` and `while` expressions
106
106
= note: as well as when nested within `&&` and parentheses in those conditions
107
- note: `||` operators are not allowed in let chain expressions
107
+ note: `||` operators are not currently supported in let chain expressions
108
108
--> $DIR/disallowed-positions.rs:50:13
109
109
|
110
110
LL | if true || (true && let 0 = 0) {}
@@ -244,7 +244,7 @@ LL | while true || let 0 = 0 {}
244
244
|
245
245
= note: only supported directly in conditions of `if` and `while` expressions
246
246
= note: as well as when nested within `&&` and parentheses in those conditions
247
- note: `||` operators are not allowed in let chain expressions
247
+ note: `||` operators are not currently supported in let chain expressions
248
248
--> $DIR/disallowed-positions.rs:111:16
249
249
|
250
250
LL | while true || let 0 = 0 {}
@@ -258,7 +258,7 @@ LL | while (true || let 0 = 0) {}
258
258
|
259
259
= note: only supported directly in conditions of `if` and `while` expressions
260
260
= note: as well as when nested within `&&` and parentheses in those conditions
261
- note: `||` operators are not allowed in let chain expressions
261
+ note: `||` operators are not currently supported in let chain expressions
262
262
--> $DIR/disallowed-positions.rs:112:17
263
263
|
264
264
LL | while (true || let 0 = 0) {}
@@ -272,7 +272,7 @@ LL | while true && (true || let 0 = 0) {}
272
272
|
273
273
= note: only supported directly in conditions of `if` and `while` expressions
274
274
= note: as well as when nested within `&&` and parentheses in those conditions
275
- note: `||` operators are not allowed in let chain expressions
275
+ note: `||` operators are not currently supported in let chain expressions
276
276
--> $DIR/disallowed-positions.rs:113:25
277
277
|
278
278
LL | while true && (true || let 0 = 0) {}
@@ -286,7 +286,7 @@ LL | while true || (true && let 0 = 0) {}
286
286
|
287
287
= note: only supported directly in conditions of `if` and `while` expressions
288
288
= note: as well as when nested within `&&` and parentheses in those conditions
289
- note: `||` operators are not allowed in let chain expressions
289
+ note: `||` operators are not currently supported in let chain expressions
290
290
--> $DIR/disallowed-positions.rs:114:16
291
291
|
292
292
LL | while true || (true && let 0 = 0) {}
@@ -426,7 +426,7 @@ LL | true || let 0 = 0;
426
426
|
427
427
= note: only supported directly in conditions of `if` and `while` expressions
428
428
= note: as well as when nested within `&&` and parentheses in those conditions
429
- note: `||` operators are not allowed in let chain expressions
429
+ note: `||` operators are not currently supported in let chain expressions
430
430
--> $DIR/disallowed-positions.rs:184:10
431
431
|
432
432
LL | true || let 0 = 0;
@@ -440,7 +440,7 @@ LL | (true || let 0 = 0);
440
440
|
441
441
= note: only supported directly in conditions of `if` and `while` expressions
442
442
= note: as well as when nested within `&&` and parentheses in those conditions
443
- note: `||` operators are not allowed in let chain expressions
443
+ note: `||` operators are not currently supported in let chain expressions
444
444
--> $DIR/disallowed-positions.rs:185:11
445
445
|
446
446
LL | (true || let 0 = 0);
@@ -454,7 +454,7 @@ LL | true && (true || let 0 = 0);
454
454
|
455
455
= note: only supported directly in conditions of `if` and `while` expressions
456
456
= note: as well as when nested within `&&` and parentheses in those conditions
457
- note: `||` operators are not allowed in let chain expressions
457
+ note: `||` operators are not currently supported in let chain expressions
458
458
--> $DIR/disallowed-positions.rs:186:19
459
459
|
460
460
LL | true && (true || let 0 = 0);
0 commit comments