mozilla/rust — pull request #8386 by stepancheg (2013-08-08 03:12:34+00:00)
Title: Fix incorrect non-exhaustive matching for fixed length vecs

Code like this is fixed now:

```
fn foo(p: [u8, ..4]) {
match p {
[a, b, c, d] => {}
};
}
```

Invalid constructors are not reported as errors yet:

```
fn foo(p: [u8, ..4]) {
match p {
[_, _, _] => {} // this should be error
[_, _, _, _, _, .._] => {} // and this
_ => {}
}
}
```

Fixes #8311