custom message for refutable patterns in for loops

This commit is contained in:
Jorge Aparicio 2015-01-22 17:46:40 -05:00
parent 5e1820f346
commit 76362f0a0e
6 changed files with 38 additions and 9 deletions

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
fn main() {
for
&1is //~ ERROR refutable pattern in `for` loop binding