diff options
| author | Graydon Hoare <[email protected]> | 2010-11-02 15:24:46 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-11-02 15:24:46 -0700 |
| commit | 7db115834f24eb9d9ccbd2468c9145fdf86be514 (patch) | |
| tree | 5e5e1463ba1201524c6d10690c0982f4b168ba9f /src/test/run-pass/foreach-nested.rs | |
| parent | First pass on splitting stratum and opacity off of effects. WIP. (diff) | |
| download | rust-7db115834f24eb9d9ccbd2468c9145fdf86be514.tar.xz rust-7db115834f24eb9d9ccbd2468c9145fdf86be514.zip | |
Split out stratum-checking pass, implement more-strict (overly aggressive) impure-effect checking.
Diffstat (limited to 'src/test/run-pass/foreach-nested.rs')
| -rw-r--r-- | src/test/run-pass/foreach-nested.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/foreach-nested.rs b/src/test/run-pass/foreach-nested.rs index 6287477a..1da1d05b 100644 --- a/src/test/run-pass/foreach-nested.rs +++ b/src/test/run-pass/foreach-nested.rs @@ -5,7 +5,7 @@ iter two() -> int { put 1; } -fn main() { +impure fn main() { let vec[mutable int] a = vec[mutable](-1, -1, -1, -1); let int p = 0; |