Skip to content

Commit 1696375

Browse files
---
yaml --- r: 69099 b: refs/heads/auto c: 6aa43c7 h: refs/heads/master i: 69097: cc59f23 69095: bdb2573 v: v3
1 parent 773b4ce commit 1696375

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
@@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: d8c27c3446582a318b35103e6ec3594c53f196b1
17+
refs/heads/auto: 6aa43c77d4eaf72e673f060ed07bce7f8fc5757d
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

branches/auto/src/librustc/middle/ty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3914,7 +3914,7 @@ pub fn enum_variants(cx: ctxt, id: ast::def_id) -> @~[@VariantInfo] {
39143914
};
39153915

39163916
match variant.node.disr_expr {
3917-
Some(e) => match const_eval::eval_const_expr_partial(cx, e) {
3917+
Some(e) => match const_eval::eval_const_expr_partial(&cx, e) {
39183918
Ok(const_eval::const_int(val)) => discriminant = val as int,
39193919
Ok(_) => {
39203920
cx.sess.span_err(e.span, "expected signed integer constant");

0 commit comments

Comments
 (0)