about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-10-18 12:09:44 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-10-18 12:19:43 -0700
commitb03c71f6297304d40b22583750d288e3c215ca79 (patch)
treebd981ad31b768d270eb006af44f0df98685fe747
parentfa38c1290119c1ceca77db38c0075f7412d296d7 (diff)
downloadrust-b03c71f6297304d40b22583750d288e3c215ca79.tar.gz
rust-b03c71f6297304d40b22583750d288e3c215ca79.zip
Remove dead type definition
-rw-r--r--src/libsyntax/ast.rs4
-rw-r--r--src/libsyntax/parse/parser.rs2
2 files changed, 1 insertions, 5 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs
index e3da15d181b..454a3166898 100644
--- a/src/libsyntax/ast.rs
+++ b/src/libsyntax/ast.rs
@@ -751,10 +751,6 @@ enum log_level { error, debug, other }
 
 #[auto_serialize]
 #[auto_deserialize]
-enum alt_mode { alt_check, alt_exhaustive, }
-
-#[auto_serialize]
-#[auto_deserialize]
 enum expr_ {
     expr_vstore(@expr, expr_vstore),
     expr_vec(~[@expr], mutability),
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index cbad662800b..8636c51b369 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -22,7 +22,7 @@ use obsolete::{
     ObsoleteWith, ObsoleteClassMethod, ObsoleteClassTraits,
     ObsoleteModeInFnType, ObsoleteByMutRefMode
 };
-use ast::{_mod, add, alt_check, alt_exhaustive, arg, arm, attribute,
+use ast::{_mod, add, arg, arm, attribute,
              bind_by_ref, bind_by_implicit_ref, bind_by_value, bind_by_move,
              bitand, bitor, bitxor, blk, blk_check_mode, bound_const,
              bound_copy, bound_send, bound_trait, bound_owned, box, by_copy,