Skip to content

Commit 439842c

Browse files
committed
---
yaml --- r: 196311 b: refs/heads/tmp c: 1c11748 h: refs/heads/master i: 196309: 2145ae6 196307: 0e361cc 196303: 922bb72 v: v3
1 parent 9acc9cc commit 439842c

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
@@ -32,7 +32,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3232
refs/heads/beta: 9854143cba679834bc4ef932858cd5303f015a0e
3333
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3434
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
35-
refs/heads/tmp: a98e4713bff40f006d48d195c5af387b93d9c907
35+
refs/heads/tmp: 1c11748a54027dc5f89185dcbb39ff8996d71515
3636
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3737
refs/tags/homu-tmp: 53a183f0274316596bf9405944d4f0468d8c93e4
3838
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412

branches/tmp/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)