Skip to content

Commit d642f76

Browse files
committed
---
yaml --- r: 1367 b: refs/heads/master c: 7c25fb5 h: refs/heads/master i: 1365: 6ae2e3f 1363: 17ac2bd 1359: d6f7323 v: v3
1 parent 2a3a082 commit d642f76

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 0d27eb13415d442a4f643c8cf4c0d839c0460744
2+
refs/heads/master: 7c25fb5628c398b79b9293b6b31d62936dcba613

trunk/src/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
449449
arith-0.rs \
450450
arith-1.rs \
451451
arith-2.rs \
452+
auto-instantiate.rs \
452453
autoderef-full-lval.rs \
453454
bind-exterior.rs \
454455
bind-interior.rs \
@@ -479,6 +480,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
479480
generic-exterior-box.rs \
480481
generic-drop-glue.rs \
481482
generic-obj.rs \
483+
generic-obj-with-derived-type.rs \
482484
generic-tup.rs \
483485
generic-type.rs \
484486
generic-type-synonym.rs \

trunk/src/comp/middle/trans.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2376,10 +2376,8 @@ fn trans_path(@block_ctxt cx, &ast.path p, &option.t[ast.def] dopt,
23762376

23772377
fn trans_field(@block_ctxt cx, &ast.span sp, @ast.expr base,
23782378
&ast.ident field, &ast.ann ann) -> lval_result {
2379-
auto lv = trans_lval(cx, base);
2380-
auto r = lv.res;
2379+
auto r = trans_expr(cx, base);
23812380
r = autoderef(r.bcx, r.val, ty.expr_ty(base));
2382-
check (lv.is_mem);
23832381
auto t = ty.expr_ty(base);
23842382
alt (t.struct) {
23852383
case (ty.ty_tup(?fields)) {

0 commit comments

Comments
 (0)