rustc: Use std::util::unreachable

This commit is contained in:
Brian Anderson
2012-03-05 18:16:25 -08:00
parent b32e09172c
commit 77ed09728b
4 changed files with 4 additions and 4 deletions

View File

@@ -1418,7 +1418,7 @@ fn operator_prec(op: ast::binop) -> int {
for spec: parse::parser::op_spec in *parse::parser::prec_table() {
if spec.op == op { ret spec.prec; }
}
fail;
std::util::unreachable();
}
fn need_parens(expr: @ast::expr, outer_prec: int) -> bool {