Skip to content

Commit 2ea3f30

Browse files
committed
---
yaml --- r: 7996 b: refs/heads/snap-stage3 c: 743c62e h: refs/heads/master v: v3
1 parent cafdddf commit 2ea3f30

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 2b67de06c8f0436563284e01fe0e925f2ba225b4
4+
refs/heads/snap-stage3: 743c62e1ce3fcb974a49de66aa69d190d2332d1d
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/src/comp/middle/mut.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,7 @@ fn expr_root(tcx: ty::ctxt, ex: @expr, autoderef: bool) ->
7878
ty::ty_str {
7979
ds += [@{mut: false, kind: index, outer_t: auto_unbox.t}];
8080
}
81-
_ {
82-
tcx.sess.span_bug(base.span, "Ill-typed base expression in \
83-
index");
84-
}
81+
_ { break; }
8582
}
8683
ds += auto_unbox.ds;
8784
ex = base;

0 commit comments

Comments
 (0)