Skip to content

Commit b4282dd

Browse files
committed
---
yaml --- r: 5465 b: refs/heads/master c: 0e5f76a h: refs/heads/master i: 5463: 355a9ab v: v3
1 parent 627d892 commit b4282dd

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
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: 1a48023a797a6192362bd182eabed2c3ea4cc897
2+
refs/heads/master: 0e5f76a718277cd31098af9f90cd5e0a0a68b4b1

trunk/src/comp/middle/mut.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ fn expr_root(tcx: ty::ctxt, ex: @expr, autoderef: bool) ->
2424
}
2525
ty::ty_uniq(mt) {
2626
ds += [@{mut: mt.mut != imm, kind: unbox, outer_t: t}];
27+
t = mt.ty;
2728
}
2829
ty::ty_res(_, inner, tps) {
2930
ds += [@{mut: false, kind: unbox, outer_t: t}];
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Issue #961
2+
3+
fn altsimple() {
4+
alt ~true {
5+
_ { }
6+
}
7+
}
8+
fn main() { }

0 commit comments

Comments
 (0)