diff options
Diffstat (limited to 'src/comp/syntax/ast.rs')
| -rw-r--r-- | src/comp/syntax/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/syntax/ast.rs b/src/comp/syntax/ast.rs index be3bf5b5ee0..30acee6dc68 100644 --- a/src/comp/syntax/ast.rs +++ b/src/comp/syntax/ast.rs @@ -92,7 +92,7 @@ type field_pat = {ident: ident, pat: @pat}; tag pat_ { pat_wild; - pat_bind(ident); + pat_bind(ident, option::t<@pat>); pat_tag(@path, [@pat]); pat_rec([field_pat], bool); pat_tup([@pat]); |
