@@ -23,8 +23,7 @@ Either bind these labels explicitly or add ', _' to the pattern.
23
23
14 [2m│[0m
24
24
15 [2m│[0m switch y {
25
25
26
- You forgot to handle a possible case here, for example:
27
- {otherValue: true}
26
+ You forgot to handle a possible case here, though we don't have more information on the value.
28
27
29
28
30
29
[1;33mWarning number 9[0m
@@ -51,9 +50,7 @@ Either bind these labels explicitly or add ', _' to the pattern.
51
50
18 [2m│[0m
52
51
19 [2m│[0m let arr = [1]
53
52
54
- You forgot to handle a possible case here, for example:
55
- {typ: WithPayload(false)} |
56
- {typ: Variant | One | Two | Three | Four | Five | Six | Seven(_)}
53
+ You forgot to handle a possible case here, though we don't have more information on the value.
57
54
58
55
59
56
[1;33mWarning number 8[0m
@@ -67,8 +64,7 @@ Either bind these labels explicitly or add ', _' to the pattern.
67
64
24 [2m│[0m
68
65
25 [2m│[0m switch arr {
69
66
70
- You forgot to handle a possible case here, for example:
71
- [_]
67
+ You forgot to handle a possible case here, though we don't have more information on the value.
72
68
73
69
74
70
[1;33mWarning number 8[0m
@@ -82,8 +78,7 @@ Either bind these labels explicitly or add ', _' to the pattern.
82
78
28 [2m│[0m
83
79
29 [2m│[0m switch arr {
84
80
85
- You forgot to handle a possible case here, for example:
86
- []
81
+ You forgot to handle a possible case here, though we don't have more information on the value.
87
82
88
83
89
84
[1;33mWarning number 8[0m
@@ -95,6 +90,48 @@ Either bind these labels explicitly or add ', _' to the pattern.
95
90
[1;33m30[0m [2m│[0m [1;33m| [1, 2] => ()[0m
96
91
[1;33m31[0m [2m│[0m [1;33m}[0m
97
92
32 [2m│[0m
93
+ 33 [2m│[0m let lst = list{}
98
94
99
- You forgot to handle a possible case here, for example:
100
- [1, 0] | [0, _] | []
95
+ You forgot to handle a possible case here, though we don't have more information on the value.
96
+
97
+
98
+ [1;33mWarning number 8[0m
99
+ [36m/.../fixtures/warnings5.res[0m:[2m35:1-37:1[0m
100
+
101
+ 33 [2m│[0m let lst = list{}
102
+ 34 [2m│[0m
103
+ [1;33m35[0m [2m│[0m [1;33mswitch lst {[0m
104
+ [1;33m36[0m [2m│[0m [1;33m | list{} => ()[0m
105
+ [1;33m37[0m [2m│[0m [1;33m}[0m
106
+ 38 [2m│[0m
107
+ 39 [2m│[0m switch lst {
108
+
109
+ You forgot to handle a possible case here, though we don't have more information on the value.
110
+
111
+
112
+ [1;33mWarning number 8[0m
113
+ [36m/.../fixtures/warnings5.res[0m:[2m39:1-41:1[0m
114
+
115
+ 37 [2m│[0m }
116
+ 38 [2m│[0m
117
+ [1;33m39[0m [2m│[0m [1;33mswitch lst {[0m
118
+ [1;33m40[0m [2m│[0m [1;33m | list{1,2} => ()[0m
119
+ [1;33m41[0m [2m│[0m [1;33m}[0m
120
+ 42 [2m│[0m
121
+ 43 [2m│[0m switch lst {
122
+
123
+ You forgot to handle a possible case here, though we don't have more information on the value.
124
+
125
+
126
+ [1;33mWarning number 8[0m
127
+ [36m/.../fixtures/warnings5.res[0m:[2m43:1-45:1[0m
128
+
129
+ 41 [2m│[0m }
130
+ 42 [2m│[0m
131
+ [1;33m43[0m [2m│[0m [1;33mswitch lst {[0m
132
+ [1;33m44[0m [2m│[0m [1;33m | list{1} => ()[0m
133
+ [1;33m45[0m [2m│[0m [1;33m}[0m
134
+ 46 [2m│[0m
135
+ 47 [2m│[0m
136
+
137
+ You forgot to handle a possible case here, though we don't have more information on the value.
0 commit comments