Skip to content

Commit 7e15a39

Browse files
committed
---
yaml --- r: 13982 b: refs/heads/try c: 743c62e h: refs/heads/master v: v3
1 parent c099c44 commit 7e15a39

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
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 2b67de06c8f0436563284e01fe0e925f2ba225b4
5+
refs/heads/try: 743c62e1ce3fcb974a49de66aa69d190d2332d1d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

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