fix typo.

This commit is contained in:
Felix S. Klock II 2015-04-01 22:52:37 +02:00
parent a98e4713bf
commit 1c11748a54

View file

@ -603,7 +603,7 @@ fn fromb(b: bool) -> const_val { const_int(b as i64) }
e.span,
"unary negation of unsigned integers may be removed in the future");
}
const_uint(n) => try!(const_uint_checked_neg(n, e, expr_uint_type)),
try!(const_uint_checked_neg(i, e, expr_uint_type))
}
const_str(_) => signal!(e, NegateOnString),
const_bool(_) => signal!(e, NegateOnBoolean),