mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
fix typo.
This commit is contained in:
parent
a98e4713bf
commit
1c11748a54
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue