|
| 1 | +error[E0658]: `let` expressions in this position are experimental |
| 2 | + --> $DIR/feature-gate.rs:14:9 |
| 3 | + | |
| 4 | +LL | if (let 0 = 1) {} |
| 5 | + | ^^^^^^^^^ |
| 6 | + | |
| 7 | + = note: for more information, see https://github.com/rust-lang/rust/issues/53667 |
| 8 | + = help: add #![feature(let_chains)] to the crate attributes to enable |
| 9 | + |
| 10 | +error[E0658]: `let` expressions in this position are experimental |
| 11 | + --> $DIR/feature-gate.rs:18:11 |
| 12 | + | |
| 13 | +LL | 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 | + |
| 19 | +error[E0658]: `let` expressions in this position are experimental |
| 20 | + --> $DIR/feature-gate.rs:21:16 |
| 21 | + | |
| 22 | +LL | if true && 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 | + |
| 28 | +error[E0658]: `let` expressions in this position are experimental |
| 29 | + --> $DIR/feature-gate.rs:24:8 |
| 30 | + | |
| 31 | +LL | if let 0 = 1 && true {} |
| 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 | + |
| 37 | +error[E0658]: `let` expressions in this position are experimental |
| 38 | + --> $DIR/feature-gate.rs:27:9 |
| 39 | + | |
| 40 | +LL | 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 | + |
| 46 | +error[E0658]: `let` expressions in this position are experimental |
| 47 | + --> $DIR/feature-gate.rs:30:17 |
| 48 | + | |
| 49 | +LL | if true && (let 0 = 1) {} |
| 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 | + |
| 55 | +error[E0658]: `let` expressions in this position are experimental |
| 56 | + --> $DIR/feature-gate.rs:33:9 |
| 57 | + | |
| 58 | +LL | if (let 0 = 1) && (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 | + |
| 64 | +error[E0658]: `let` expressions in this position are experimental |
| 65 | + --> $DIR/feature-gate.rs:33:24 |
| 66 | + | |
| 67 | +LL | 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 | + |
| 73 | +error[E0658]: `let` expressions in this position are experimental |
| 74 | + --> $DIR/feature-gate.rs:37:8 |
| 75 | + | |
| 76 | +LL | if let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} |
| 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 | + |
| 82 | +error[E0658]: `let` expressions in this position are experimental |
| 83 | + --> $DIR/feature-gate.rs:37:21 |
| 84 | + | |
| 85 | +LL | 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 | + |
| 91 | +error[E0658]: `let` expressions in this position are experimental |
| 92 | + --> $DIR/feature-gate.rs:37:35 |
| 93 | + | |
| 94 | +LL | 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 | + |
| 100 | +error[E0658]: `let` expressions in this position are experimental |
| 101 | + --> $DIR/feature-gate.rs:37:48 |
| 102 | + | |
| 103 | +LL | 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 | + |
| 109 | +error[E0658]: `let` expressions in this position are experimental |
| 110 | + --> $DIR/feature-gate.rs:37:61 |
| 111 | + | |
| 112 | +LL | 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 | + |
| 118 | +error[E0658]: `let` expressions in this position are experimental |
| 119 | + --> $DIR/feature-gate.rs:44:8 |
| 120 | + | |
| 121 | +LL | if let Range { start: _, end: _ } = (true..true) && false {} |
| 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 | + |
| 127 | +error[E0658]: `let` expressions in this position are experimental |
| 128 | + --> $DIR/feature-gate.rs:51:12 |
| 129 | + | |
| 130 | +LL | while (let 0 = 1) {} |
| 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 | + |
| 136 | +error[E0658]: `let` expressions in this position are experimental |
| 137 | + --> $DIR/feature-gate.rs:54:14 |
| 138 | + | |
| 139 | +LL | 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 | + |
| 145 | +error[E0658]: `let` expressions in this position are experimental |
| 146 | + --> $DIR/feature-gate.rs:57:19 |
| 147 | + | |
| 148 | +LL | while true && 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 | + |
| 154 | +error[E0658]: `let` expressions in this position are experimental |
| 155 | + --> $DIR/feature-gate.rs:60:11 |
| 156 | + | |
| 157 | +LL | while let 0 = 1 && true {} |
| 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 | + |
| 163 | +error[E0658]: `let` expressions in this position are experimental |
| 164 | + --> $DIR/feature-gate.rs:63:12 |
| 165 | + | |
| 166 | +LL | 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 | + |
| 172 | +error[E0658]: `let` expressions in this position are experimental |
| 173 | + --> $DIR/feature-gate.rs:66:20 |
| 174 | + | |
| 175 | +LL | while true && (let 0 = 1) {} |
| 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 | + |
| 181 | +error[E0658]: `let` expressions in this position are experimental |
| 182 | + --> $DIR/feature-gate.rs:69:12 |
| 183 | + | |
| 184 | +LL | while (let 0 = 1) && (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 | + |
| 190 | +error[E0658]: `let` expressions in this position are experimental |
| 191 | + --> $DIR/feature-gate.rs:69:27 |
| 192 | + | |
| 193 | +LL | 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 | + |
| 199 | +error[E0658]: `let` expressions in this position are experimental |
| 200 | + --> $DIR/feature-gate.rs:73:11 |
| 201 | + | |
| 202 | +LL | while let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} |
| 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 | + |
| 208 | +error[E0658]: `let` expressions in this position are experimental |
| 209 | + --> $DIR/feature-gate.rs:73:24 |
| 210 | + | |
| 211 | +LL | 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 | + |
| 217 | +error[E0658]: `let` expressions in this position are experimental |
| 218 | + --> $DIR/feature-gate.rs:73:38 |
| 219 | + | |
| 220 | +LL | 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 | + |
| 226 | +error[E0658]: `let` expressions in this position are experimental |
| 227 | + --> $DIR/feature-gate.rs:73:51 |
| 228 | + | |
| 229 | +LL | 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 | + |
| 235 | +error[E0658]: `let` expressions in this position are experimental |
| 236 | + --> $DIR/feature-gate.rs:73:64 |
| 237 | + | |
| 238 | +LL | 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 | + |
| 244 | +error[E0658]: `let` expressions in this position are experimental |
| 245 | + --> $DIR/feature-gate.rs:80:11 |
| 246 | + | |
| 247 | +LL | while let Range { start: _, end: _ } = (true..true) && false {} |
| 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 | + |
| 253 | +error[E0658]: `let` expressions in this position are experimental |
| 254 | + --> $DIR/feature-gate.rs:94:15 |
| 255 | + | |
| 256 | +LL | use_expr!(let 0 = 1 && 0 == 0); |
| 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 | + |
| 262 | +error[E0658]: `let` expressions in this position are experimental |
| 263 | + --> $DIR/feature-gate.rs:96:16 |
| 264 | + | |
| 265 | +LL | use_expr!((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 | + |
| 271 | +error: `let` expressions only supported in `if` |
| 272 | + --> $DIR/feature-gate.rs:14:9 |
| 273 | + | |
| 274 | +LL | if (let 0 = 1) {} |
| 275 | + | ^^^^^^^^^ |
| 276 | + |
| 277 | +error: aborting due to 31 previous errors |
| 278 | + |
| 279 | +For more information about this error, try `rustc --explain E0658`. |
0 commit comments