diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs index 729338b4b3022ad119944943c9878762235fda73..10b1b01b44f60736ac05bbf22ea5dcb0d1df7a19 100644 --- a/src/comp/syntax/parse/parser.rs +++ b/src/comp/syntax/parse/parser.rs @@ -1119,11 +1119,8 @@ fn parse_prefix_expr(p: &parser) -> @ast::expr { } let lo = p.get_lo_pos(); let hi = p.get_hi_pos(); - // FIXME: can only remove this sort of thing when both typestate and - // alt-exhaustive-match checking are co-operating. - let lit = @spanned(lo, lo, ast::lit_nil); - let ex: ast::expr_ = ast::expr_lit(lit); + let ex; alt p.peek() { token::NOT. { p.bump();