diff options
| author | Graydon Hoare <[email protected]> | 2010-12-13 09:25:19 -0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-12-13 09:25:19 -0800 |
| commit | 734c1909188c7b505ca9a0b88bda561a08cf45fd (patch) | |
| tree | 0ba475271d0709ad657cc8853be8c5e3847bdd2f /src/test/run-pass/foreach-nested-2.rs | |
| parent | rustc: Typecheck "alt" expressions and patterns (diff) | |
| download | rust-734c1909188c7b505ca9a0b88bda561a08cf45fd.tar.xz rust-734c1909188c7b505ca9a0b88bda561a08cf45fd.zip | |
Syntax tweak: move 'mutable' from pseudo-ty-param on vec ctor to low-precedence prefix inside paren.
Diffstat (limited to 'src/test/run-pass/foreach-nested-2.rs')
| -rw-r--r-- | src/test/run-pass/foreach-nested-2.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/foreach-nested-2.rs b/src/test/run-pass/foreach-nested-2.rs index f06474b3..1c90a653 100644 --- a/src/test/run-pass/foreach-nested-2.rs +++ b/src/test/run-pass/foreach-nested-2.rs @@ -15,7 +15,7 @@ iter range(int start, int stop) -> int { impure fn main() { let vec[mutable int] a = - vec[mutable](-1, -1, -1, -1, -1, -1, -1, -1); + vec(mutable -1, -1, -1, -1, -1, -1, -1, -1); let int p = 0; for each (int i in two()) { |