@@ -204,6 +204,7 @@ note: `Option<Void>` defined here
204
204
|
205
205
= note: not covered
206
206
= note: the matched value is of type `Option<Void>`
207
+ = note: `Void` is uninhabited but is not being matched by value, so a wildcard `_` is required
207
208
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
208
209
|
209
210
LL ~ None => {},
@@ -349,6 +350,7 @@ LL | match slice_never {
349
350
| ^^^^^^^^^^^ pattern `&[_, ..]` not covered
350
351
|
351
352
= note: the matched value is of type `&[!]`
353
+ = note: `!` is uninhabited but is not being matched by value, so a wildcard `_` is required
352
354
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
353
355
|
354
356
LL ~ [] => {},
@@ -484,6 +486,7 @@ note: `Option<!>` defined here
484
486
|
485
487
= note: not covered
486
488
= note: the matched value is of type `&Option<!>`
489
+ = note: `!` is uninhabited but is not being matched by value, so a wildcard `_` is required
487
490
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
488
491
|
489
492
LL ~ &None => {},
@@ -502,6 +505,7 @@ note: `Option<!>` defined here
502
505
|
503
506
= note: not covered
504
507
= note: the matched value is of type `Option<!>`
508
+ = note: `!` is uninhabited but is not being matched by value, so a wildcard `_` is required
505
509
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
506
510
|
507
511
LL ~ None => {},
@@ -520,6 +524,7 @@ note: `Result<!, !>` defined here
520
524
|
521
525
= note: not covered
522
526
= note: the matched value is of type `Result<!, !>`
527
+ = note: `!` is uninhabited but is not being matched by value, so a wildcard `_` is required
523
528
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
524
529
|
525
530
LL ~ Ok(_) => {},
@@ -538,6 +543,7 @@ note: `Result<!, !>` defined here
538
543
|
539
544
= note: not covered
540
545
= note: the matched value is of type `Result<!, !>`
546
+ = note: `!` is uninhabited but is not being matched by value, so a wildcard `_` is required
541
547
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
542
548
|
543
549
LL ~ Ok(_a) => {},
@@ -589,6 +595,7 @@ LL | match ref_never {
589
595
| ^^^^^^^^^ pattern `&_` not covered
590
596
|
591
597
= note: the matched value is of type `&!`
598
+ = note: `!` is uninhabited but is not being matched by value, so a wildcard `_` is required
592
599
= note: references are always considered inhabited
593
600
= note: match arms with guards don't count towards exhaustivity
594
601
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
@@ -609,6 +616,7 @@ note: `Result<!, !>` defined here
609
616
|
610
617
= note: not covered
611
618
= note: the matched value is of type `Result<!, !>`
619
+ = note: `!` is uninhabited but is not being matched by value, so a wildcard `_` is required
612
620
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
613
621
|
614
622
LL ~ Err(_) => {},
@@ -627,6 +635,7 @@ note: `Option<Result<!, !>>` defined here
627
635
|
628
636
= note: not covered
629
637
= note: the matched value is of type `Option<Result<!, !>>`
638
+ = note: `Result<!, !>` is uninhabited but is not being matched by value, so a wildcard `_` is required
630
639
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
631
640
|
632
641
LL ~ None => {},
0 commit comments