@@ -24,7 +24,7 @@ Either bind these labels explicitly or add ', _' to the pattern.
24
24
15 [2m│[0m switch y {
25
25
26
26
You forgot to handle a possible case here, for example:
27
- {otherValue: true, _}
27
+ | {otherValue: true, _}
28
28
29
29
30
30
[1;33mWarning number 9[0m
@@ -52,7 +52,7 @@ Either bind these labels explicitly or add ', _' to the pattern.
52
52
19 [2m│[0m let arr = [1]
53
53
54
54
You forgot to handle a possible case here, for example:
55
- {typ: WithPayload(false), _}
55
+ | {typ: WithPayload(false), _}
56
56
| {typ: Variant | One | Two | Three | Four | Five | Six | Seven(_), _}
57
57
58
58
@@ -68,7 +68,7 @@ Either bind these labels explicitly or add ', _' to the pattern.
68
68
25 [2m│[0m switch arr {
69
69
70
70
You forgot to handle a possible case here, for example:
71
- [_]
71
+ | [_]
72
72
73
73
74
74
[1;33mWarning number 8[0m
@@ -83,7 +83,7 @@ Either bind these labels explicitly or add ', _' to the pattern.
83
83
29 [2m│[0m switch arr {
84
84
85
85
You forgot to handle a possible case here, for example:
86
- []
86
+ | []
87
87
88
88
89
89
[1;33mWarning number 8[0m
@@ -98,7 +98,7 @@ Either bind these labels explicitly or add ', _' to the pattern.
98
98
33 [2m│[0m let lst = list{}
99
99
100
100
You forgot to handle a possible case here, for example:
101
- [1, 0] | [0, _] | []
101
+ | [1, 0] | [0, _] | []
102
102
103
103
104
104
[1;33mWarning number 8[0m
@@ -113,7 +113,7 @@ Either bind these labels explicitly or add ', _' to the pattern.
113
113
39 [2m│[0m switch lst {
114
114
115
115
You forgot to handle a possible case here, for example:
116
- list{_, ..._}
116
+ | list{_, ..._}
117
117
118
118
119
119
[1;33mWarning number 8[0m
@@ -128,7 +128,7 @@ Either bind these labels explicitly or add ', _' to the pattern.
128
128
43 [2m│[0m switch lst {
129
129
130
130
You forgot to handle a possible case here, for example:
131
- list{1, 2, _, ..._} | list{1, 0, ..._} | list{1} | list{0, ..._} | list{}
131
+ | list{1, 2, _, ..._} | list{1, 0, ..._} | list{1} | list{0, ..._} | list{}
132
132
133
133
134
134
[1;33mWarning number 8[0m
@@ -143,7 +143,7 @@ Either bind these labels explicitly or add ', _' to the pattern.
143
143
47 [2m│[0m switch "abc" {
144
144
145
145
You forgot to handle a possible case here, for example:
146
- list{1, _, ..._} | list{0, ..._} | list{}
146
+ | list{1, _, ..._} | list{0, ..._} | list{}
147
147
148
148
149
149
[1;33mWarning number 8[0m
@@ -158,7 +158,7 @@ Either bind these labels explicitly or add ', _' to the pattern.
158
158
51 [2m│[0m switch 0 {
159
159
160
160
You forgot to handle a possible case here, for example:
161
- "*"
161
+ | "*"
162
162
163
163
164
164
[1;33mWarning number 8[0m
@@ -173,7 +173,7 @@ Either bind these labels explicitly or add ', _' to the pattern.
173
173
55 [2m│[0m let tuple = (1, true)
174
174
175
175
You forgot to handle a possible case here, for example:
176
- 0
176
+ | 0
177
177
178
178
179
179
[1;33mWarning number 8[0m
@@ -187,4 +187,4 @@ Either bind these labels explicitly or add ', _' to the pattern.
187
187
60 [2m│[0m
188
188
189
189
You forgot to handle a possible case here, for example:
190
- (_, true)
190
+ | (_, true)
0 commit comments