summary refs log tree commit diff
path: root/src/test/compile-fail/for-loop-decl.rs
AgeCommit message (Collapse)AuthorLines
2012-09-11Convert 'use' to 'extern mod'. Remove old 'use' syntaxBrian Anderson-1/+1
2012-09-10Convert std::map to camel caseBrian Anderson-2/+2
2012-09-05test: "import" -> "use"Patrick Walton-2/+2
2012-08-28CamelCasify lots of stdBen Striegel-1/+1
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-1/+1
2012-08-01Convert ret to returnBrian Anderson-1/+1
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-1/+1
2012-07-29Rewrite bitv to use classes and optimize its representationTim Chevalier-2/+2
Rewrote bitv as a class that uses a 32-bit int as its representation for bit vectors of 32 bits or less, and a vector (the old representation) otherwise. I didn't benchmark very much, but a bit of informal benchmarking suggested this is a win. Closes #2341
2012-07-01Convert to new closure syntaxBrian Anderson-1/+1
2012-04-23Move map iface over to more `for`-friendly iteration methodsMarijn Haverbeke-1/+1
2012-03-15test: Fix name of bitv typeBrian Anderson-1/+1
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-1/+1
#debug.
2011-10-21Remove some semicolons after block callsMarijn Haverbeke-1/+1
The remaining ones can be removed after the next snapshot. (Or we can let the next pretty-print pass take care of them.)
2011-10-21Remove remaining uses of iter and for-eachMarijn Haverbeke-3/+3
Issue #1056
2011-08-16Port the tests to the typaram foo<T> syntax.Erick Tryzelaar-1/+1
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-2/+2
2011-07-27Reformat for new syntaxMarijn Haverbeke-14/+9
2011-07-26Remove uses of tuples from the test suiteMarijn Haverbeke-3/+4
2011-06-14Remove some unnecessary xfailsTim Chevalier-1/+1
2011-05-27Check the declaration type in a for loop against the sequence typeTim Chevalier-0/+23
Changed the typechecker to correctly typecheck the declared variable type in a for or for-each loop against the vector element type (for a for loop) or the iterator type (for a for-each loop). Added a test case.