Skip to content

Commit 3e83b6f

Browse files
committed
---
yaml --- r: 196084 b: refs/heads/beta c: 1c11748 h: refs/heads/master v: v3
1 parent 54dc8ef commit 3e83b6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2929
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3030
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
3131
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
32-
refs/heads/beta: a98e4713bff40f006d48d195c5af387b93d9c907
32+
refs/heads/beta: 1c11748a54027dc5f89185dcbb39ff8996d71515
3333
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3434
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
3535
refs/heads/tmp: 9de34a84bb300bab1bf0227f577331620cd60511

branches/beta/src/librustc/middle/const_eval.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ pub fn eval_const_expr_partial<'tcx>(tcx: &ty::ctxt<'tcx>,
603603
e.span,
604604
"unary negation of unsigned integers may be removed in the future");
605605
}
606-
const_uint(n) => try!(const_uint_checked_neg(n, e, expr_uint_type)),
606+
try!(const_uint_checked_neg(i, e, expr_uint_type))
607607
}
608608
const_str(_) => signal!(e, NegateOnString),
609609
const_bool(_) => signal!(e, NegateOnBoolean),

0 commit comments

Comments
 (0)