diff options
Diffstat (limited to 'src/comp/syntax')
| -rw-r--r-- | src/comp/syntax/ast.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/comp/syntax/ast.rs b/src/comp/syntax/ast.rs index a76b6f9919f..262eac3ca01 100644 --- a/src/comp/syntax/ast.rs +++ b/src/comp/syntax/ast.rs @@ -108,9 +108,6 @@ enum pat_ { // which it is. The resolver determines this, and // records this pattern's node_id in an auxiliary // set (of "pat_idents that refer to nullary enums") - // After the resolution phase, code should never pattern- - // match on a pat directly! Always call pat_util::normalize_pat -- - // it turns any pat_idents that refer to nullary enums into pat_enums. pat_ident(@path, option<@pat>), pat_enum(@path, [@pat]), pat_rec([field_pat], bool), |
