librustc: Remove record patterns from the compiler

This commit is contained in:
Patrick Walton
2013-03-05 18:38:52 -08:00
parent 954ae9c975
commit 0ea031bcb8
15 changed files with 31 additions and 74 deletions

View File

@@ -520,7 +520,7 @@ pub fn walk_pat(pat: @pat, it: fn(@pat)) {
it(pat);
match pat.node {
pat_ident(_, _, Some(p)) => walk_pat(p, it),
pat_rec(ref fields, _) | pat_struct(_, ref fields, _) => {
pat_struct(_, ref fields, _) => {
for fields.each |f| {
walk_pat(f.pat, it)
}