diff options
| author | Patrick Walton <[email protected]> | 2010-07-15 15:20:04 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2010-07-15 15:20:04 -0700 |
| commit | 0b675a021a73a3dfa09079790a50302aeb6d1616 (patch) | |
| tree | 9bea8d18f02105844d05170450238ad19a7a0666 /src/test | |
| parent | Correct the way we get typarams when dropping an obj type in drop_ty by using... (diff) | |
| download | rust-0b675a021a73a3dfa09079790a50302aeb6d1616.tar.xz rust-0b675a021a73a3dfa09079790a50302aeb6d1616.zip | |
Make mutability no longer a type constructor
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/exterior.rs | 2 | ||||
| -rw-r--r-- | src/test/run-pass/writealias.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/exterior.rs b/src/test/run-pass/exterior.rs index 0e93e25a..f09ee823 100644 --- a/src/test/run-pass/exterior.rs +++ b/src/test/run-pass/exterior.rs @@ -9,7 +9,7 @@ fn f(@point p) { } fn main() { - let point a = rec(x=10, y=11, z=mutable 12); + let point a = rec(x=10, y=11, mutable z=12); let @point b = @a; check (b.z == 12); f(b); diff --git a/src/test/run-pass/writealias.rs b/src/test/run-pass/writealias.rs index 061b1b57..8bf8140f 100644 --- a/src/test/run-pass/writealias.rs +++ b/src/test/run-pass/writealias.rs @@ -7,7 +7,7 @@ fn f(& mutable point p) { } fn main() { - let point x = rec(x=10, y=11, z=mutable 12); + let point x = rec(x=10, y=11, mutable z=12); f(x); check (x.z == 13); } |