|
| 1 | +error[E0658]: `let` expressions in this position are unstable |
| 2 | + --> $DIR/edition-gate-macro-error.rs:19:30 |
| 3 | + | |
| 4 | +LL | macro_in_2021::make_if!((let Some(0) = None && let Some(0) = None) { never!() } { never!() }); |
| 5 | + | ^^^^^^^^^^^^^^^^^^ |
| 6 | + | |
| 7 | + = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information |
| 8 | + = help: add `#![feature(let_chains)]` to the crate attributes to enable |
| 9 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 10 | + |
| 11 | +error[E0658]: `let` expressions in this position are unstable |
| 12 | + --> $DIR/edition-gate-macro-error.rs:19:52 |
| 13 | + | |
| 14 | +LL | macro_in_2021::make_if!((let Some(0) = None && let Some(0) = None) { never!() } { never!() }); |
| 15 | + | ^^^^^^^^^^^^^^^^^^ |
| 16 | + | |
| 17 | + = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information |
| 18 | + = help: add `#![feature(let_chains)]` to the crate attributes to enable |
| 19 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 20 | + |
| 21 | +error[E0658]: `let` expressions in this position are unstable |
| 22 | + --> $DIR/edition-gate-macro-error.rs:22:5 |
| 23 | + | |
| 24 | +LL | macro_in_2021::make_if!(let (Some(0)) let (Some(0)) { never!() } { never!() }); |
| 25 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 26 | + | |
| 27 | + = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information |
| 28 | + = help: add `#![feature(let_chains)]` to the crate attributes to enable |
| 29 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 30 | + = note: this error originates in the macro `macro_in_2021::make_if` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 31 | + |
| 32 | +error[E0658]: `let` expressions in this position are unstable |
| 33 | + --> $DIR/edition-gate-macro-error.rs:22:5 |
| 34 | + | |
| 35 | +LL | macro_in_2021::make_if!(let (Some(0)) let (Some(0)) { never!() } { never!() }); |
| 36 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 37 | + | |
| 38 | + = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information |
| 39 | + = help: add `#![feature(let_chains)]` to the crate attributes to enable |
| 40 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 41 | + = note: this error originates in the macro `macro_in_2021::make_if` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 42 | + |
| 43 | +error[E0658]: `let` expressions in this position are unstable |
| 44 | + --> $DIR/edition-gate-macro-error.rs:26:30 |
| 45 | + | |
| 46 | +LL | macro_in_2024::make_if!((let Some(0) = None && let Some(0) = None) { never!() } { never!() }); |
| 47 | + | ^^^^^^^^^^^^^^^^^^ |
| 48 | + | |
| 49 | + = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information |
| 50 | + = help: add `#![feature(let_chains)]` to the crate attributes to enable |
| 51 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 52 | + |
| 53 | +error[E0658]: `let` expressions in this position are unstable |
| 54 | + --> $DIR/edition-gate-macro-error.rs:26:52 |
| 55 | + | |
| 56 | +LL | macro_in_2024::make_if!((let Some(0) = None && let Some(0) = None) { never!() } { never!() }); |
| 57 | + | ^^^^^^^^^^^^^^^^^^ |
| 58 | + | |
| 59 | + = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information |
| 60 | + = help: add `#![feature(let_chains)]` to the crate attributes to enable |
| 61 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 62 | + |
| 63 | +error: aborting due to 6 previous errors |
| 64 | + |
| 65 | +For more information about this error, try `rustc --explain E0658`. |
0 commit comments