summary refs log tree commit diff
path: root/src/test/compile-fail/match-slice-patterns.rs
AgeCommit message (Collapse)AuthorLines
2017-01-03Improve error message, fix and add tests.Andrew Cann-1/+1
Changes the non-exhaustive match error message to generate more general witnesses.
2016-11-05_match: correct max_slice_length logicAriel Ben-Yehuda-0/+24
The logic used to be wildly wrong, but before the HAIR patch its wrongness was hidden by another bug. Fixes #37598.