fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error: no rules expected the token `let` 2 --> $DIR/feature-gate.rs:131:15 3 | 4LL | macro_rules! use_expr { 5 | --------------------- when calling this macro 6... 7LL | use_expr!(let 0 = 1); 8 | ^^^ no rules expected this token in macro call 9 10error[E0658]: `let` expressions in this position are experimental 11 --> $DIR/feature-gate.rs:14:9 12 | 13LL | if (let 0 = 1) {} 14 | ^^^^^^^^^ 15 | 16 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 17 = help: add `#![feature(let_chains)]` to the crate attributes to enable 18 19error[E0658]: `let` expressions in this position are experimental 20 --> $DIR/feature-gate.rs:18:11 21 | 22LL | if (((let 0 = 1))) {} 23 | ^^^^^^^^^ 24 | 25 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 26 = help: add `#![feature(let_chains)]` to the crate attributes to enable 27 28error[E0658]: `let` expressions in this position are experimental 29 --> $DIR/feature-gate.rs:22:16 30 | 31LL | if true && let 0 = 1 {} 32 | ^^^^^^^^^ 33 | 34 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 35 = help: add `#![feature(let_chains)]` to the crate attributes to enable 36 37error[E0658]: `let` expressions in this position are experimental 38 --> $DIR/feature-gate.rs:26:8 39 | 40LL | if let 0 = 1 && true {} 41 | ^^^^^^^^^ 42 | 43 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 44 = help: add `#![feature(let_chains)]` to the crate attributes to enable 45 46error[E0658]: `let` expressions in this position are experimental 47 --> $DIR/feature-gate.rs:30:9 48 | 49LL | if (let 0 = 1) && true {} 50 | ^^^^^^^^^ 51 | 52 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 53 = help: add `#![feature(let_chains)]` to the crate attributes to enable 54 55error[E0658]: `let` expressions in this position are experimental 56 --> $DIR/feature-gate.rs:34:17 57 | 58LL | if true && (let 0 = 1) {} 59 | ^^^^^^^^^ 60 | 61 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 62 = help: add `#![feature(let_chains)]` to the crate attributes to enable 63 64error[E0658]: `let` expressions in this position are experimental 65 --> $DIR/feature-gate.rs:38:9 66 | 67LL | if (let 0 = 1) && (let 0 = 1) {} 68 | ^^^^^^^^^ 69 | 70 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 71 = help: add `#![feature(let_chains)]` to the crate attributes to enable 72 73error[E0658]: `let` expressions in this position are experimental 74 --> $DIR/feature-gate.rs:38:24 75 | 76LL | if (let 0 = 1) && (let 0 = 1) {} 77 | ^^^^^^^^^ 78 | 79 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 80 = help: add `#![feature(let_chains)]` to the crate attributes to enable 81 82error[E0658]: `let` expressions in this position are experimental 83 --> $DIR/feature-gate.rs:44:8 84 | 85LL | if let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 86 | ^^^^^^^^^ 87 | 88 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 89 = help: add `#![feature(let_chains)]` to the crate attributes to enable 90 91error[E0658]: `let` expressions in this position are experimental 92 --> $DIR/feature-gate.rs:44:21 93 | 94LL | if let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 95 | ^^^^^^^^^ 96 | 97 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 98 = help: add `#![feature(let_chains)]` to the crate attributes to enable 99 100error[E0658]: `let` expressions in this position are experimental 101 --> $DIR/feature-gate.rs:44:35 102 | 103LL | if let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 104 | ^^^^^^^^^ 105 | 106 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 107 = help: add `#![feature(let_chains)]` to the crate attributes to enable 108 109error[E0658]: `let` expressions in this position are experimental 110 --> $DIR/feature-gate.rs:44:48 111 | 112LL | if let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 113 | ^^^^^^^^^ 114 | 115 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 116 = help: add `#![feature(let_chains)]` to the crate attributes to enable 117 118error[E0658]: `let` expressions in this position are experimental 119 --> $DIR/feature-gate.rs:44:61 120 | 121LL | if let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 122 | ^^^^^^^^^ 123 | 124 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 125 = help: add `#![feature(let_chains)]` to the crate attributes to enable 126 127error[E0658]: `let` expressions in this position are experimental 128 --> $DIR/feature-gate.rs:56:8 129 | 130LL | if let Range { start: _, end: _ } = (true..true) && false {} 131 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 132 | 133 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 134 = help: add `#![feature(let_chains)]` to the crate attributes to enable 135 136error[E0658]: `let` expressions in this position are experimental 137 --> $DIR/feature-gate.rs:64:12 138 | 139LL | while (let 0 = 1) {} 140 | ^^^^^^^^^ 141 | 142 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 143 = help: add `#![feature(let_chains)]` to the crate attributes to enable 144 145error[E0658]: `let` expressions in this position are experimental 146 --> $DIR/feature-gate.rs:68:14 147 | 148LL | while (((let 0 = 1))) {} 149 | ^^^^^^^^^ 150 | 151 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 152 = help: add `#![feature(let_chains)]` to the crate attributes to enable 153 154error[E0658]: `let` expressions in this position are experimental 155 --> $DIR/feature-gate.rs:72:19 156 | 157LL | while true && let 0 = 1 {} 158 | ^^^^^^^^^ 159 | 160 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 161 = help: add `#![feature(let_chains)]` to the crate attributes to enable 162 163error[E0658]: `let` expressions in this position are experimental 164 --> $DIR/feature-gate.rs:76:11 165 | 166LL | while let 0 = 1 && true {} 167 | ^^^^^^^^^ 168 | 169 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 170 = help: add `#![feature(let_chains)]` to the crate attributes to enable 171 172error[E0658]: `let` expressions in this position are experimental 173 --> $DIR/feature-gate.rs:80:12 174 | 175LL | while (let 0 = 1) && true {} 176 | ^^^^^^^^^ 177 | 178 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 179 = help: add `#![feature(let_chains)]` to the crate attributes to enable 180 181error[E0658]: `let` expressions in this position are experimental 182 --> $DIR/feature-gate.rs:84:20 183 | 184LL | while true && (let 0 = 1) {} 185 | ^^^^^^^^^ 186 | 187 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 188 = help: add `#![feature(let_chains)]` to the crate attributes to enable 189 190error[E0658]: `let` expressions in this position are experimental 191 --> $DIR/feature-gate.rs:88:12 192 | 193LL | while (let 0 = 1) && (let 0 = 1) {} 194 | ^^^^^^^^^ 195 | 196 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 197 = help: add `#![feature(let_chains)]` to the crate attributes to enable 198 199error[E0658]: `let` expressions in this position are experimental 200 --> $DIR/feature-gate.rs:88:27 201 | 202LL | while (let 0 = 1) && (let 0 = 1) {} 203 | ^^^^^^^^^ 204 | 205 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 206 = help: add `#![feature(let_chains)]` to the crate attributes to enable 207 208error[E0658]: `let` expressions in this position are experimental 209 --> $DIR/feature-gate.rs:94:11 210 | 211LL | while let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 212 | ^^^^^^^^^ 213 | 214 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 215 = help: add `#![feature(let_chains)]` to the crate attributes to enable 216 217error[E0658]: `let` expressions in this position are experimental 218 --> $DIR/feature-gate.rs:94:24 219 | 220LL | while let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 221 | ^^^^^^^^^ 222 | 223 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 224 = help: add `#![feature(let_chains)]` to the crate attributes to enable 225 226error[E0658]: `let` expressions in this position are experimental 227 --> $DIR/feature-gate.rs:94:38 228 | 229LL | while let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 230 | ^^^^^^^^^ 231 | 232 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 233 = help: add `#![feature(let_chains)]` to the crate attributes to enable 234 235error[E0658]: `let` expressions in this position are experimental 236 --> $DIR/feature-gate.rs:94:51 237 | 238LL | while let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 239 | ^^^^^^^^^ 240 | 241 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 242 = help: add `#![feature(let_chains)]` to the crate attributes to enable 243 244error[E0658]: `let` expressions in this position are experimental 245 --> $DIR/feature-gate.rs:94:64 246 | 247LL | while let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 248 | ^^^^^^^^^ 249 | 250 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 251 = help: add `#![feature(let_chains)]` to the crate attributes to enable 252 253error[E0658]: `let` expressions in this position are experimental 254 --> $DIR/feature-gate.rs:106:11 255 | 256LL | while let Range { start: _, end: _ } = (true..true) && false {} 257 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 258 | 259 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 260 = help: add `#![feature(let_chains)]` to the crate attributes to enable 261 262error[E0658]: `let` expressions in this position are experimental 263 --> $DIR/feature-gate.rs:129:20 264 | 265LL | #[cfg(FALSE)] (let 0 = 1); 266 | ^^^^^^^^^ 267 | 268 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 269 = help: add `#![feature(let_chains)]` to the crate attributes to enable 270 271error[E0658]: `let` expressions in this position are experimental 272 --> $DIR/feature-gate.rs:114:17 273 | 274LL | noop_expr!((let 0 = 1)); 275 | ^^^^^^^^^ 276 | 277 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 278 = help: add `#![feature(let_chains)]` to the crate attributes to enable 279 280error[E0658]: `let` expressions in this position are experimental 281 --> $DIR/feature-gate.rs:123:16 282 | 283LL | use_expr!((let 0 = 1 && 0 == 0)); 284 | ^^^^^^^^^ 285 | 286 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 287 = help: add `#![feature(let_chains)]` to the crate attributes to enable 288 289error[E0658]: `let` expressions in this position are experimental 290 --> $DIR/feature-gate.rs:126:16 291 | 292LL | use_expr!((let 0 = 1)); 293 | ^^^^^^^^^ 294 | 295 = note: for more information, see https://github.com/rust-lang/rust/issues/53667 296 = help: add `#![feature(let_chains)]` to the crate attributes to enable 297 298error: `let` expressions are not supported here 299 --> $DIR/feature-gate.rs:14:9 300 | 301LL | if (let 0 = 1) {} 302 | ^^^^^^^^^ 303 | 304 = note: only supported directly in conditions of `if`- and `while`-expressions 305 = note: as well as when nested within `&&` and parenthesis in those conditions 306 307error: `let` expressions are not supported here 308 --> $DIR/feature-gate.rs:18:11 309 | 310LL | if (((let 0 = 1))) {} 311 | ^^^^^^^^^ 312 | 313 = note: only supported directly in conditions of `if`- and `while`-expressions 314 = note: as well as when nested within `&&` and parenthesis in those conditions 315 316error: `let` expressions are not supported here 317 --> $DIR/feature-gate.rs:22:16 318 | 319LL | if true && let 0 = 1 {} 320 | ^^^^^^^^^ 321 | 322 = note: only supported directly in conditions of `if`- and `while`-expressions 323 = note: as well as when nested within `&&` and parenthesis in those conditions 324 325error: `let` expressions are not supported here 326 --> $DIR/feature-gate.rs:26:8 327 | 328LL | if let 0 = 1 && true {} 329 | ^^^^^^^^^ 330 | 331 = note: only supported directly in conditions of `if`- and `while`-expressions 332 = note: as well as when nested within `&&` and parenthesis in those conditions 333 334error: `let` expressions are not supported here 335 --> $DIR/feature-gate.rs:30:9 336 | 337LL | if (let 0 = 1) && true {} 338 | ^^^^^^^^^ 339 | 340 = note: only supported directly in conditions of `if`- and `while`-expressions 341 = note: as well as when nested within `&&` and parenthesis in those conditions 342 343error: `let` expressions are not supported here 344 --> $DIR/feature-gate.rs:34:17 345 | 346LL | if true && (let 0 = 1) {} 347 | ^^^^^^^^^ 348 | 349 = note: only supported directly in conditions of `if`- and `while`-expressions 350 = note: as well as when nested within `&&` and parenthesis in those conditions 351 352error: `let` expressions are not supported here 353 --> $DIR/feature-gate.rs:38:9 354 | 355LL | if (let 0 = 1) && (let 0 = 1) {} 356 | ^^^^^^^^^ 357 | 358 = note: only supported directly in conditions of `if`- and `while`-expressions 359 = note: as well as when nested within `&&` and parenthesis in those conditions 360 361error: `let` expressions are not supported here 362 --> $DIR/feature-gate.rs:38:24 363 | 364LL | if (let 0 = 1) && (let 0 = 1) {} 365 | ^^^^^^^^^ 366 | 367 = note: only supported directly in conditions of `if`- and `while`-expressions 368 = note: as well as when nested within `&&` and parenthesis in those conditions 369 370error: `let` expressions are not supported here 371 --> $DIR/feature-gate.rs:44:8 372 | 373LL | if let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 374 | ^^^^^^^^^ 375 | 376 = note: only supported directly in conditions of `if`- and `while`-expressions 377 = note: as well as when nested within `&&` and parenthesis in those conditions 378 379error: `let` expressions are not supported here 380 --> $DIR/feature-gate.rs:44:21 381 | 382LL | if let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 383 | ^^^^^^^^^ 384 | 385 = note: only supported directly in conditions of `if`- and `while`-expressions 386 = note: as well as when nested within `&&` and parenthesis in those conditions 387 388error: `let` expressions are not supported here 389 --> $DIR/feature-gate.rs:44:35 390 | 391LL | if let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 392 | ^^^^^^^^^ 393 | 394 = note: only supported directly in conditions of `if`- and `while`-expressions 395 = note: as well as when nested within `&&` and parenthesis in those conditions 396 397error: `let` expressions are not supported here 398 --> $DIR/feature-gate.rs:44:48 399 | 400LL | if let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 401 | ^^^^^^^^^ 402 | 403 = note: only supported directly in conditions of `if`- and `while`-expressions 404 = note: as well as when nested within `&&` and parenthesis in those conditions 405 406error: `let` expressions are not supported here 407 --> $DIR/feature-gate.rs:44:61 408 | 409LL | if let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 410 | ^^^^^^^^^ 411 | 412 = note: only supported directly in conditions of `if`- and `while`-expressions 413 = note: as well as when nested within `&&` and parenthesis in those conditions 414 415error: `let` expressions are not supported here 416 --> $DIR/feature-gate.rs:56:8 417 | 418LL | if let Range { start: _, end: _ } = (true..true) && false {} 419 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 420 | 421 = note: only supported directly in conditions of `if`- and `while`-expressions 422 = note: as well as when nested within `&&` and parenthesis in those conditions 423 424error: `let` expressions are not supported here 425 --> $DIR/feature-gate.rs:64:12 426 | 427LL | while (let 0 = 1) {} 428 | ^^^^^^^^^ 429 | 430 = note: only supported directly in conditions of `if`- and `while`-expressions 431 = note: as well as when nested within `&&` and parenthesis in those conditions 432 433error: `let` expressions are not supported here 434 --> $DIR/feature-gate.rs:68:14 435 | 436LL | while (((let 0 = 1))) {} 437 | ^^^^^^^^^ 438 | 439 = note: only supported directly in conditions of `if`- and `while`-expressions 440 = note: as well as when nested within `&&` and parenthesis in those conditions 441 442error: `let` expressions are not supported here 443 --> $DIR/feature-gate.rs:72:19 444 | 445LL | while true && let 0 = 1 {} 446 | ^^^^^^^^^ 447 | 448 = note: only supported directly in conditions of `if`- and `while`-expressions 449 = note: as well as when nested within `&&` and parenthesis in those conditions 450 451error: `let` expressions are not supported here 452 --> $DIR/feature-gate.rs:76:11 453 | 454LL | while let 0 = 1 && true {} 455 | ^^^^^^^^^ 456 | 457 = note: only supported directly in conditions of `if`- and `while`-expressions 458 = note: as well as when nested within `&&` and parenthesis in those conditions 459 460error: `let` expressions are not supported here 461 --> $DIR/feature-gate.rs:80:12 462 | 463LL | while (let 0 = 1) && true {} 464 | ^^^^^^^^^ 465 | 466 = note: only supported directly in conditions of `if`- and `while`-expressions 467 = note: as well as when nested within `&&` and parenthesis in those conditions 468 469error: `let` expressions are not supported here 470 --> $DIR/feature-gate.rs:84:20 471 | 472LL | while true && (let 0 = 1) {} 473 | ^^^^^^^^^ 474 | 475 = note: only supported directly in conditions of `if`- and `while`-expressions 476 = note: as well as when nested within `&&` and parenthesis in those conditions 477 478error: `let` expressions are not supported here 479 --> $DIR/feature-gate.rs:88:12 480 | 481LL | while (let 0 = 1) && (let 0 = 1) {} 482 | ^^^^^^^^^ 483 | 484 = note: only supported directly in conditions of `if`- and `while`-expressions 485 = note: as well as when nested within `&&` and parenthesis in those conditions 486 487error: `let` expressions are not supported here 488 --> $DIR/feature-gate.rs:88:27 489 | 490LL | while (let 0 = 1) && (let 0 = 1) {} 491 | ^^^^^^^^^ 492 | 493 = note: only supported directly in conditions of `if`- and `while`-expressions 494 = note: as well as when nested within `&&` and parenthesis in those conditions 495 496error: `let` expressions are not supported here 497 --> $DIR/feature-gate.rs:94:11 498 | 499LL | while let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 500 | ^^^^^^^^^ 501 | 502 = note: only supported directly in conditions of `if`- and `while`-expressions 503 = note: as well as when nested within `&&` and parenthesis in those conditions 504 505error: `let` expressions are not supported here 506 --> $DIR/feature-gate.rs:94:24 507 | 508LL | while let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 509 | ^^^^^^^^^ 510 | 511 = note: only supported directly in conditions of `if`- and `while`-expressions 512 = note: as well as when nested within `&&` and parenthesis in those conditions 513 514error: `let` expressions are not supported here 515 --> $DIR/feature-gate.rs:94:38 516 | 517LL | while let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 518 | ^^^^^^^^^ 519 | 520 = note: only supported directly in conditions of `if`- and `while`-expressions 521 = note: as well as when nested within `&&` and parenthesis in those conditions 522 523error: `let` expressions are not supported here 524 --> $DIR/feature-gate.rs:94:51 525 | 526LL | while let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 527 | ^^^^^^^^^ 528 | 529 = note: only supported directly in conditions of `if`- and `while`-expressions 530 = note: as well as when nested within `&&` and parenthesis in those conditions 531 532error: `let` expressions are not supported here 533 --> $DIR/feature-gate.rs:94:64 534 | 535LL | while let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} 536 | ^^^^^^^^^ 537 | 538 = note: only supported directly in conditions of `if`- and `while`-expressions 539 = note: as well as when nested within `&&` and parenthesis in those conditions 540 541error: `let` expressions are not supported here 542 --> $DIR/feature-gate.rs:106:11 543 | 544LL | while let Range { start: _, end: _ } = (true..true) && false {} 545 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 546 | 547 = note: only supported directly in conditions of `if`- and `while`-expressions 548 = note: as well as when nested within `&&` and parenthesis in those conditions 549 550error: `let` expressions are not supported here 551 --> $DIR/feature-gate.rs:123:16 552 | 553LL | use_expr!((let 0 = 1 && 0 == 0)); 554 | ^^^^^^^^^ 555 | 556 = note: only supported directly in conditions of `if`- and `while`-expressions 557 = note: as well as when nested within `&&` and parenthesis in those conditions 558 559error: `let` expressions are not supported here 560 --> $DIR/feature-gate.rs:126:16 561 | 562LL | use_expr!((let 0 = 1)); 563 | ^^^^^^^^^ 564 | 565 = note: only supported directly in conditions of `if`- and `while`-expressions 566 = note: as well as when nested within `&&` and parenthesis in those conditions 567 568error: aborting due to 63 previous errors 569 570For more information about this error, try `rustc --explain E0658`.