提交 1c11748a 编写于 作者: F Felix S. Klock II

fix typo.

上级 a98e4713
......@@ -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),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册