Skip to content

Commit f21d705

Browse files
committed
---
yaml --- r: 5832 b: refs/heads/master c: 1a64153 h: refs/heads/master v: v3
1 parent c259dff commit f21d705

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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: 4d9d889dbfcccf324aba268eb6f8069514ed18e7
2+
refs/heads/master: 1a64153b244183f215241e8c8c2c115076239ba3

trunk/src/comp/middle/mut.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ fn expr_root(tcx: ty::ctxt, ex: @expr, autoderef: bool) ->
1919
while true {
2020
alt ty::struct(tcx, t) {
2121
ty::ty_box(mt) {
22-
ds += [@{mut: mt.mut != imm, kind: unbox, outer_t: t}];
22+
ds += [@{mut: mt.mut == mut, kind: unbox, outer_t: t}];
2323
t = mt.ty;
2424
}
2525
ty::ty_uniq(mt) {
26-
ds += [@{mut: mt.mut != imm, kind: unbox, outer_t: t}];
26+
ds += [@{mut: mt.mut == mut, kind: unbox, outer_t: t}];
2727
t = mt.ty;
2828
}
2929
ty::ty_res(_, inner, tps) {

0 commit comments

Comments
 (0)