File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -182,3 +182,15 @@ This seems like a combination of a typo (or "think-o" perhaps)
182
182
doing ` lo - hi ` instead of ` hi - lo ` , but also a fencepost error.
183
183
184
184
https://github.com/rust-lang/rust/pull/31281
185
+
186
+ ### Type checking of tuple patterns
187
+
188
+ https://github.com/rust-lang/rust/pull/33864#issuecomment-221911260
189
+
190
+ https://github.com/rust-lang/rust/pull/33864/commits/0ca9bf394006fe635a4a76ca6fa78a70633666f0
191
+
192
+ This code passed in an ` expected_len ` rather than ` max_len ` , a logic
193
+ error, and the arithmetic checking code caught it. (I'm not quite
194
+ clear on whether there is a unit test that also could have caught it
195
+ independently? It sounds like if such a test exists, it was not part
196
+ of the test suite...)
You can’t perform that action at this time.
0 commit comments