diff options
| author | Graydon Hoare <[email protected]> | 2010-06-30 21:17:45 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-06-30 21:17:45 -0700 |
| commit | 8b8186db8711c306873837c125067b6631c710b9 (patch) | |
| tree | ea22a274f07763f19efbe75a618be3b9f9fb203b /src | |
| parent | Auto-deref on lval-ext terms (x.y == x->y, if you like) (diff) | |
| download | rust-8b8186db8711c306873837c125067b6631c710b9.tar.xz rust-8b8186db8711c306873837c125067b6631c710b9.zip | |
No more "transplant" behavior in "let @x = y", gotta box explicitly.
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/run-pass/exterior.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/exterior.rs b/src/test/run-pass/exterior.rs index bb0b91eb..0e93e25a 100644 --- a/src/test/run-pass/exterior.rs +++ b/src/test/run-pass/exterior.rs @@ -10,7 +10,7 @@ fn f(@point p) { fn main() { let point a = rec(x=10, y=11, z=mutable 12); - let @point b = a; + let @point b = @a; check (b.z == 12); f(b); check (a.z == 12); |