Skip to content

Commit 37fd886

Browse files
committed
---
yaml --- r: 5021 b: refs/heads/master c: 855e0a4 h: refs/heads/master i: 5019: ca2670d v: v3
1 parent 4466277 commit 37fd886

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-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: 9db4d9c6fd783dfed799f724e7122b9d50087d6e
2+
refs/heads/master: 855e0a471365c7c61a139e2437215028bd231af5

trunk/src/comp/middle/alias.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ fn check_call(cx: &ctx, f: &@ast::expr, args: &[@ast::expr], sc: &scope) ->
210210
~"passing an immutable object \
211211
field by mutable alias");
212212
}
213+
cx.mut_map.insert(dnum, ());
213214
} else {
214215
cx.tcx.sess.span_err(
215216
arg.span,

0 commit comments

Comments
 (0)