summary refs log tree commit diff
path: root/src/test/run-pass/foreach-nested.rs
AgeCommit message (Collapse)AuthorLines
2015-04-08Remove pretty-expanded from failing testsAlex Crichton-1/+0
This commit removes pretty-expanded from all tests that wind up calling panic! one way or another now that its internals are unstable.
2015-03-26Mass rename uint/int to usize/isizeAlex Crichton-4/+4
Now that support has been removed, all lingering use cases are renamed.
2015-03-23rustdoc: Replace no-pretty-expanded with pretty-expandedBrian Anderson-0/+2
Now that features must be declared expanded source often does not compile. This adds 'pretty-expanded' to a bunch of test cases that still work.
2015-01-05fix rpass testsJorge Aparicio-1/+1
2014-11-06Fallout from collection conventionsAlexis Beingessner-1/+1
2014-10-19Remove a large amount of deprecated functionalityAlex Crichton-4/+4
Spring cleaning is here! In the Fall! This commit removes quite a large amount of deprecated functionality from the standard libraries. I tried to ensure that only old deprecated functionality was removed. This is removing lots and lots of deprecated features, so this is a breaking change. Please consult the deprecation messages of the deleted code to see how to migrate code forward if it still needs migration. [breaking-change]
2014-03-22Remove outdated and unnecessary std::vec_ng::Vec imports.Huon Wilson-1/+0
(And fix some tests.)
2014-03-21test: Make manual changes to deal with the fallout from removal ofPatrick Walton-7/+6
`~[T]` in test, libgetopts, compiletest, librustdoc, and libnum.
2014-03-21test: Automatically remove all `~[T]` from tests.Patrick Walton-1/+1
2013-11-26test: Remove non-procedure uses of `do` from compiletest, libstd tests,Patrick Walton-3/+3
compile-fail tests, run-fail tests, and run-pass tests.
2013-11-26test: Remove most uses of `&fn()` from the tests.Patrick Walton-1/+1
2013-10-25Remove ancient emacs mode lines from test casesBrian Anderson-1/+0
These are relics that serve no purpose.
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-4/+4
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-4/+4
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-1/+1
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-4/+4
2013-02-04Merge remote-tracking branch 'bstrie/rimov' into incomingBrian Anderson-1/+1
Conflicts: src/libsyntax/parse/parser.rs src/test/bench/graph500-bfs.rs src/test/bench/sudoku.rs src/test/run-pass/borrowck-mut-vec-as-imm-slice.rs src/test/run-pass/empty-mutable-vec.rs src/test/run-pass/foreach-nested.rs src/test/run-pass/swap-2.rs
2013-02-01check-fast fallout from removing export, r=burningtreeGraydon Hoare-1/+1
2013-01-30RIMOV, round 4Ben Striegel-1/+1
find ./ -type f -name "*.rs" -exec sed -i "s/let mut \(.*\)\[mut[ ]\?/let mut \1\[/g" {} \;
2013-01-30RIMOV, round 3Ben Striegel-1/+1
find ./ -type f -name "*.rs" -exec sed -i "s/let \(.*\)\[mut[ ]\?/let mut \1\[/g" {} \;
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-07-01Convert to new closure syntaxBrian Anderson-2/+2
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-3/+3
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-1/+1
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-1/+1
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-1/+1
2012-03-22make --enforce-mut-vars always on, add mut annotations to remaining filesNiko Matsakis-1/+1
2012-01-23s/block()/fn()/gNiko Matsakis-1/+1
2011-10-21Remove remaining uses of iter and for-eachMarijn Haverbeke-4/+4
Issue #1056
2011-08-20ReformatBrian Anderson-6/+6
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-3/+3
2011-08-12Convert most working tests to ivecsBrian Anderson-1/+1
I tried to pay attention to what was actually being tested so, e.g. when I test was just using a vec as a boxed thing, I converted to boxed ints, etc. Haven't converted the macro tests yet. Not sure what to do there.
2011-07-27Reformat for new syntaxMarijn Haverbeke-4/+4
2011-06-15Reformat source tree (minus a couple tests that are still grumpy).Graydon Hoare-12/+6
2011-05-16Rewrite everything to use [] instead of vec() in value position.Graydon Hoare-1/+1
2011-05-02Un-revert "Use different syntax for checks that matter to typestate", fixing ↵Patrick Walton-4/+4
the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
2011-05-02Revert "Use different syntax for checks that matter to typestate"Graydon Hoare-4/+4
This reverts commit aa25f22f197682de3b18fc4c8ba068d1feda220f. It broke stage2, not sure why yet.
2011-05-02Use different syntax for checks that matter to typestateTim Chevalier-4/+4
This giant commit changes the syntax of Rust to use "assert" for "check" expressions that didn't mean anything to the typestate system, and continue using "check" for checks that are used as part of typestate checking. Most of the changes are just replacing "check" with "assert" in test cases and rustc.
2011-04-19Remove effect system from src.Graydon Hoare-1/+1
2010-12-13Syntax tweak: move 'mutable' from pseudo-ty-param on vec ctor to ↵Graydon Hoare-1/+1
low-precedence prefix inside paren.
2010-11-02Split out stratum-checking pass, implement more-strict (overly aggressive) ↵Graydon Hoare-1/+1
impure-effect checking.
2010-07-23Improve mutability checking. Closes #118.Graydon Hoare-1/+1
2010-07-16Support nested for-each loops. Closes #79.Jason Orendorff-0/+23