]> git.lizzy.rs Git - rust.git/commitdiff
Remove dead type definition
authorTim Chevalier <chevalier@alum.wellesley.edu>
Thu, 18 Oct 2012 19:09:44 +0000 (12:09 -0700)
committerTim Chevalier <chevalier@alum.wellesley.edu>
Thu, 18 Oct 2012 19:19:43 +0000 (12:19 -0700)
src/libsyntax/ast.rs
src/libsyntax/parse/parser.rs

index e3da15d181b7617ce1968f130e92fc800df05de8..454a3166898b3f82c763f9dc0b810b3fa6d13777 100644 (file)
@@ -749,10 +749,6 @@ impl blk_check_mode : cmp::Eq {
 enum log_level { error, debug, other }
 // 0 = error, 1 = debug, 2 = other
 
-#[auto_serialize]
-#[auto_deserialize]
-enum alt_mode { alt_check, alt_exhaustive, }
-
 #[auto_serialize]
 #[auto_deserialize]
 enum expr_ {
index cbad662800b5f7f7c271f20c04b59022a3c95103..8636c51b369d9e7c7d97369d2857991ae8360593 100644 (file)
@@ -22,7 +22,7 @@
     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,