Skip to content

Commit b03c71f

Browse files
committed
Remove dead type definition
1 parent fa38c12 commit b03c71f

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/libsyntax/ast.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -749,10 +749,6 @@ type expr = {id: node_id, callee_id: node_id, node: expr_, span: span};
749749
enum log_level { error, debug, other }
750750
// 0 = error, 1 = debug, 2 = other
751751

752-
#[auto_serialize]
753-
#[auto_deserialize]
754-
enum alt_mode { alt_check, alt_exhaustive, }
755-
756752
#[auto_serialize]
757753
#[auto_deserialize]
758754
enum expr_ {

src/libsyntax/parse/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use obsolete::{
2222
ObsoleteWith, ObsoleteClassMethod, ObsoleteClassTraits,
2323
ObsoleteModeInFnType, ObsoleteByMutRefMode
2424
};
25-
use ast::{_mod, add, alt_check, alt_exhaustive, arg, arm, attribute,
25+
use ast::{_mod, add, arg, arm, attribute,
2626
bind_by_ref, bind_by_implicit_ref, bind_by_value, bind_by_move,
2727
bitand, bitor, bitxor, blk, blk_check_mode, bound_const,
2828
bound_copy, bound_send, bound_trait, bound_owned, box, by_copy,

0 commit comments

Comments
 (0)