@@ -254,39 +254,39 @@ LL | _ => {}
254
254
= note: this pattern matches no values because `!` is uninhabited
255
255
256
256
error: unreachable pattern
257
- --> $DIR/empty-types.rs:279 :9
257
+ --> $DIR/empty-types.rs:281 :9
258
258
|
259
259
LL | _ => {}
260
260
| ^
261
261
|
262
262
= note: this pattern matches no values because `!` is uninhabited
263
263
264
264
error: unreachable pattern
265
- --> $DIR/empty-types.rs:282 :9
265
+ --> $DIR/empty-types.rs:284 :9
266
266
|
267
267
LL | (_, _) => {}
268
268
| ^^^^^^
269
269
|
270
270
= note: this pattern matches no values because `(!, !)` is uninhabited
271
271
272
272
error: unreachable pattern
273
- --> $DIR/empty-types.rs:285 :9
273
+ --> $DIR/empty-types.rs:287 :9
274
274
|
275
275
LL | Ok(_) => {}
276
276
| ^^^^^
277
277
|
278
278
= note: this pattern matches no values because `Result<!, !>` is uninhabited
279
279
280
280
error: unreachable pattern
281
- --> $DIR/empty-types.rs:286 :9
281
+ --> $DIR/empty-types.rs:288 :9
282
282
|
283
283
LL | Err(_) => {}
284
284
| ^^^^^^
285
285
|
286
286
= note: this pattern matches no values because `Result<!, !>` is uninhabited
287
287
288
288
error[E0004]: non-exhaustive patterns: type `&[!]` is non-empty
289
- --> $DIR/empty-types.rs:318 :11
289
+ --> $DIR/empty-types.rs:327 :11
290
290
|
291
291
LL | match slice_never {}
292
292
| ^^^^^^^^^^^
@@ -300,7 +300,7 @@ LL + }
300
300
|
301
301
302
302
error[E0004]: non-exhaustive patterns: `&[]` not covered
303
- --> $DIR/empty-types.rs:329 :11
303
+ --> $DIR/empty-types.rs:338 :11
304
304
|
305
305
LL | match slice_never {
306
306
| ^^^^^^^^^^^ pattern `&[]` not covered
@@ -313,7 +313,7 @@ LL + &[] => todo!()
313
313
|
314
314
315
315
error[E0004]: non-exhaustive patterns: `&[]` not covered
316
- --> $DIR/empty-types.rs:343 :11
316
+ --> $DIR/empty-types.rs:352 :11
317
317
|
318
318
LL | match slice_never {
319
319
| ^^^^^^^^^^^ pattern `&[]` not covered
@@ -327,7 +327,7 @@ LL + &[] => todo!()
327
327
|
328
328
329
329
error[E0004]: non-exhaustive patterns: type `[!]` is non-empty
330
- --> $DIR/empty-types.rs:350 :11
330
+ --> $DIR/empty-types.rs:359 :11
331
331
|
332
332
LL | match *slice_never {}
333
333
| ^^^^^^^^^^^^
@@ -341,31 +341,31 @@ LL + }
341
341
|
342
342
343
343
error: unreachable pattern
344
- --> $DIR/empty-types.rs:359 :9
344
+ --> $DIR/empty-types.rs:368 :9
345
345
|
346
346
LL | _ => {}
347
347
| ^
348
348
|
349
349
= note: this pattern matches no values because `[!; 3]` is uninhabited
350
350
351
351
error: unreachable pattern
352
- --> $DIR/empty-types.rs:362 :9
352
+ --> $DIR/empty-types.rs:371 :9
353
353
|
354
354
LL | [_, _, _] => {}
355
355
| ^^^^^^^^^
356
356
|
357
357
= note: this pattern matches no values because `[!; 3]` is uninhabited
358
358
359
359
error: unreachable pattern
360
- --> $DIR/empty-types.rs:365 :9
360
+ --> $DIR/empty-types.rs:374 :9
361
361
|
362
362
LL | [_, ..] => {}
363
363
| ^^^^^^^
364
364
|
365
365
= note: this pattern matches no values because `[!; 3]` is uninhabited
366
366
367
367
error[E0004]: non-exhaustive patterns: type `[!; 0]` is non-empty
368
- --> $DIR/empty-types.rs:379 :11
368
+ --> $DIR/empty-types.rs:388 :11
369
369
|
370
370
LL | match array_0_never {}
371
371
| ^^^^^^^^^^^^^
@@ -379,15 +379,15 @@ LL + }
379
379
|
380
380
381
381
error: unreachable pattern
382
- --> $DIR/empty-types.rs:386 :9
382
+ --> $DIR/empty-types.rs:395 :9
383
383
|
384
384
LL | [] => {}
385
385
| -- matches all the values already
386
386
LL | _ => {}
387
387
| ^ unreachable pattern
388
388
389
389
error[E0004]: non-exhaustive patterns: `[]` not covered
390
- --> $DIR/empty-types.rs:388 :11
390
+ --> $DIR/empty-types.rs:397 :11
391
391
|
392
392
LL | match array_0_never {
393
393
| ^^^^^^^^^^^^^ pattern `[]` not covered
@@ -401,23 +401,23 @@ LL + [] => todo!()
401
401
|
402
402
403
403
error: unreachable pattern
404
- --> $DIR/empty-types.rs:407 :9
404
+ --> $DIR/empty-types.rs:416 :9
405
405
|
406
406
LL | Some(_) => {}
407
407
| ^^^^^^^
408
408
|
409
409
= note: this pattern matches no values because `!` is uninhabited
410
410
411
411
error: unreachable pattern
412
- --> $DIR/empty-types.rs:412 :9
412
+ --> $DIR/empty-types.rs:421 :9
413
413
|
414
414
LL | Some(_a) => {}
415
415
| ^^^^^^^^
416
416
|
417
417
= note: this pattern matches no values because `!` is uninhabited
418
418
419
419
error: unreachable pattern
420
- --> $DIR/empty-types.rs:417 :9
420
+ --> $DIR/empty-types.rs:426 :9
421
421
|
422
422
LL | None => {}
423
423
| ---- matches all the values already
@@ -426,7 +426,7 @@ LL | _ => {}
426
426
| ^ unreachable pattern
427
427
428
428
error: unreachable pattern
429
- --> $DIR/empty-types.rs:422 :9
429
+ --> $DIR/empty-types.rs:431 :9
430
430
|
431
431
LL | None => {}
432
432
| ---- matches all the values already
@@ -435,31 +435,31 @@ LL | _a => {}
435
435
| ^^ unreachable pattern
436
436
437
437
error: unreachable pattern
438
- --> $DIR/empty-types.rs:594 :9
438
+ --> $DIR/empty-types.rs:603 :9
439
439
|
440
440
LL | _ => {}
441
441
| ^
442
442
|
443
443
= note: this pattern matches no values because `!` is uninhabited
444
444
445
445
error: unreachable pattern
446
- --> $DIR/empty-types.rs:597 :9
446
+ --> $DIR/empty-types.rs:606 :9
447
447
|
448
448
LL | _x => {}
449
449
| ^^
450
450
|
451
451
= note: this pattern matches no values because `!` is uninhabited
452
452
453
453
error: unreachable pattern
454
- --> $DIR/empty-types.rs:600 :9
454
+ --> $DIR/empty-types.rs:609 :9
455
455
|
456
456
LL | _ if false => {}
457
457
| ^
458
458
|
459
459
= note: this pattern matches no values because `!` is uninhabited
460
460
461
461
error: unreachable pattern
462
- --> $DIR/empty-types.rs:603 :9
462
+ --> $DIR/empty-types.rs:612 :9
463
463
|
464
464
LL | _x if false => {}
465
465
| ^^
0 commit comments