@@ -254,39 +254,39 @@ LL | _ => {}
254254 = note: this pattern matches no values because `!` is uninhabited
255255
256256error: unreachable pattern
257- --> $DIR/empty-types.rs:279 :9
257+ --> $DIR/empty-types.rs:281 :9
258258 |
259259LL | _ => {}
260260 | ^
261261 |
262262 = note: this pattern matches no values because `!` is uninhabited
263263
264264error: unreachable pattern
265- --> $DIR/empty-types.rs:282 :9
265+ --> $DIR/empty-types.rs:284 :9
266266 |
267267LL | (_, _) => {}
268268 | ^^^^^^
269269 |
270270 = note: this pattern matches no values because `(!, !)` is uninhabited
271271
272272error: unreachable pattern
273- --> $DIR/empty-types.rs:285 :9
273+ --> $DIR/empty-types.rs:287 :9
274274 |
275275LL | Ok(_) => {}
276276 | ^^^^^
277277 |
278278 = note: this pattern matches no values because `Result<!, !>` is uninhabited
279279
280280error: unreachable pattern
281- --> $DIR/empty-types.rs:286 :9
281+ --> $DIR/empty-types.rs:288 :9
282282 |
283283LL | Err(_) => {}
284284 | ^^^^^^
285285 |
286286 = note: this pattern matches no values because `Result<!, !>` is uninhabited
287287
288288error[E0004]: non-exhaustive patterns: type `&[!]` is non-empty
289- --> $DIR/empty-types.rs:318 :11
289+ --> $DIR/empty-types.rs:327 :11
290290 |
291291LL | match slice_never {}
292292 | ^^^^^^^^^^^
@@ -300,7 +300,7 @@ LL + }
300300 |
301301
302302error[E0004]: non-exhaustive patterns: `&[]` not covered
303- --> $DIR/empty-types.rs:329 :11
303+ --> $DIR/empty-types.rs:338 :11
304304 |
305305LL | match slice_never {
306306 | ^^^^^^^^^^^ pattern `&[]` not covered
@@ -313,7 +313,7 @@ LL + &[] => todo!()
313313 |
314314
315315error[E0004]: non-exhaustive patterns: `&[]` not covered
316- --> $DIR/empty-types.rs:343 :11
316+ --> $DIR/empty-types.rs:352 :11
317317 |
318318LL | match slice_never {
319319 | ^^^^^^^^^^^ pattern `&[]` not covered
@@ -327,7 +327,7 @@ LL + &[] => todo!()
327327 |
328328
329329error[E0004]: non-exhaustive patterns: type `[!]` is non-empty
330- --> $DIR/empty-types.rs:350 :11
330+ --> $DIR/empty-types.rs:359 :11
331331 |
332332LL | match *slice_never {}
333333 | ^^^^^^^^^^^^
@@ -341,31 +341,31 @@ LL + }
341341 |
342342
343343error: unreachable pattern
344- --> $DIR/empty-types.rs:359 :9
344+ --> $DIR/empty-types.rs:368 :9
345345 |
346346LL | _ => {}
347347 | ^
348348 |
349349 = note: this pattern matches no values because `[!; 3]` is uninhabited
350350
351351error: unreachable pattern
352- --> $DIR/empty-types.rs:362 :9
352+ --> $DIR/empty-types.rs:371 :9
353353 |
354354LL | [_, _, _] => {}
355355 | ^^^^^^^^^
356356 |
357357 = note: this pattern matches no values because `[!; 3]` is uninhabited
358358
359359error: unreachable pattern
360- --> $DIR/empty-types.rs:365 :9
360+ --> $DIR/empty-types.rs:374 :9
361361 |
362362LL | [_, ..] => {}
363363 | ^^^^^^^
364364 |
365365 = note: this pattern matches no values because `[!; 3]` is uninhabited
366366
367367error[E0004]: non-exhaustive patterns: type `[!; 0]` is non-empty
368- --> $DIR/empty-types.rs:379 :11
368+ --> $DIR/empty-types.rs:388 :11
369369 |
370370LL | match array_0_never {}
371371 | ^^^^^^^^^^^^^
@@ -379,15 +379,15 @@ LL + }
379379 |
380380
381381error: unreachable pattern
382- --> $DIR/empty-types.rs:386 :9
382+ --> $DIR/empty-types.rs:395 :9
383383 |
384384LL | [] => {}
385385 | -- matches all the values already
386386LL | _ => {}
387387 | ^ unreachable pattern
388388
389389error[E0004]: non-exhaustive patterns: `[]` not covered
390- --> $DIR/empty-types.rs:388 :11
390+ --> $DIR/empty-types.rs:397 :11
391391 |
392392LL | match array_0_never {
393393 | ^^^^^^^^^^^^^ pattern `[]` not covered
@@ -401,23 +401,23 @@ LL + [] => todo!()
401401 |
402402
403403error: unreachable pattern
404- --> $DIR/empty-types.rs:407 :9
404+ --> $DIR/empty-types.rs:416 :9
405405 |
406406LL | Some(_) => {}
407407 | ^^^^^^^
408408 |
409409 = note: this pattern matches no values because `!` is uninhabited
410410
411411error: unreachable pattern
412- --> $DIR/empty-types.rs:412 :9
412+ --> $DIR/empty-types.rs:421 :9
413413 |
414414LL | Some(_a) => {}
415415 | ^^^^^^^^
416416 |
417417 = note: this pattern matches no values because `!` is uninhabited
418418
419419error: unreachable pattern
420- --> $DIR/empty-types.rs:417 :9
420+ --> $DIR/empty-types.rs:426 :9
421421 |
422422LL | None => {}
423423 | ---- matches all the values already
@@ -426,7 +426,7 @@ LL | _ => {}
426426 | ^ unreachable pattern
427427
428428error: unreachable pattern
429- --> $DIR/empty-types.rs:422 :9
429+ --> $DIR/empty-types.rs:431 :9
430430 |
431431LL | None => {}
432432 | ---- matches all the values already
@@ -435,31 +435,31 @@ LL | _a => {}
435435 | ^^ unreachable pattern
436436
437437error: unreachable pattern
438- --> $DIR/empty-types.rs:594 :9
438+ --> $DIR/empty-types.rs:603 :9
439439 |
440440LL | _ => {}
441441 | ^
442442 |
443443 = note: this pattern matches no values because `!` is uninhabited
444444
445445error: unreachable pattern
446- --> $DIR/empty-types.rs:597 :9
446+ --> $DIR/empty-types.rs:606 :9
447447 |
448448LL | _x => {}
449449 | ^^
450450 |
451451 = note: this pattern matches no values because `!` is uninhabited
452452
453453error: unreachable pattern
454- --> $DIR/empty-types.rs:600 :9
454+ --> $DIR/empty-types.rs:609 :9
455455 |
456456LL | _ if false => {}
457457 | ^
458458 |
459459 = note: this pattern matches no values because `!` is uninhabited
460460
461461error: unreachable pattern
462- --> $DIR/empty-types.rs:603 :9
462+ --> $DIR/empty-types.rs:612 :9
463463 |
464464LL | _x if false => {}
465465 | ^^
0 commit comments