diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-01-19 14:24:03 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-01-19 14:24:03 -0800 |
| commit | bdb8f6cf52a2a4e2f78e6fa95d42140aa26ec31c (patch) | |
| tree | 0d0b55cfc904eeec0d4bf99bd92744ff81324b39 /src/comp/syntax/ext/simplext.rs | |
| parent | e6a7383a5f478b90b95556da25160ffee870b57d (diff) | |
rustc: "tag" -> "enum"
Diffstat (limited to 'src/comp/syntax/ext/simplext.rs')
| -rw-r--r-- | src/comp/syntax/ext/simplext.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/syntax/ext/simplext.rs b/src/comp/syntax/ext/simplext.rs index a71bb650f3c..85d6d451810 100644 --- a/src/comp/syntax/ext/simplext.rs +++ b/src/comp/syntax/ext/simplext.rs @@ -25,10 +25,10 @@ fn path_to_ident(pth: @path) -> option::t<ident> { type clause = {params: binders, body: @expr}; /* logically, an arb_depth should contain only one kind of matchable */ -tag arb_depth<T> { leaf(T); seq(@[arb_depth<T>], span); } +enum arb_depth<T> { leaf(T); seq(@[arb_depth<T>], span); } -tag matchable { +enum matchable { match_expr(@expr); match_path(@path); match_ident(ast::spanned<ident>); |
