summary refs log tree commit diff
path: root/src/test/run-pass
AgeCommit message (Collapse)AuthorLines
2012-07-11Fix some version numbers.Graydon Hoare-1/+1
2012-07-10Modify reflect interface to pass tydescs back to client, stop on false return.Graydon Hoare-270/+184
These changes are required to prune type-recursion and admit early returns in the visitor code. Changes to visitors in subsequent csets.
2012-07-10Get rid of places that expected foo.bar to implicitly bind.Michael Sullivan-10/+10
2012-07-09Allow defining token tree macros. They should work now!Paul Stansifer-2/+2
2012-07-09Xfail-fast a recent test that doesn't work on check-fast.Graydon Hoare-0/+1
2012-07-09Catch one missing residual 'cont' -> 'again' change.Graydon Hoare-1/+1
2012-07-09Merge branch 'incoming' of github.com:/mozilla/rust into incomingGraydon Hoare-1/+12
Conflicts: src/snapshots.txt
2012-07-09Switch 'cont' to 'again' everywhere. Close #2229.Graydon Hoare-12/+12
2012-07-09Remove xfail-test from (now functional) test. Fixes #2323.Niko Matsakis-1/+0
2012-07-09Add clear methods to the tests that make maps.Michael Sullivan-0/+2
2012-07-09rustc: Conditionally compile view items. #2357Brian Anderson-0/+10
2012-07-09test: xfail-fast extern-crosscrateBrian Anderson-0/+1
2012-07-09Fix metadata serialization of foreign functions. Properly take the value of ↵Josh Matthews-0/+14
foreign functions from other crates to fix #1840.
2012-07-09rustc: Switch to the new resolution passPatrick Walton-1/+2
2012-07-06Revert "rustc: Switch to the new resolution pass"Niko Matsakis-2/+1
This reverts commit c4af6e92fbae171c56a4e68666025725555fc9d8. Branch was burning...many, many unresolved imports.
2012-07-06rustc: Switch to the new resolution passPatrick Walton-1/+2
2012-07-06Be less eager about implicit borrowing when doing method resolution. Closes ↵Michael Sullivan-0/+43
#2796.
2012-07-06Bank protocol example from blog postEric Holk-0/+70
2012-07-06Move string append to libraries. Closes #2710.Michael Sullivan-3/+1
2012-07-06Updating tests to use pipes.Eric Holk-433/+19
2012-07-06You can have any protocol you want, provided it's pingpong.Eric Holk-4/+40
This integrates the pipe compiler into the proto syntax extension.
2012-07-06Plumbing and parsing for item-position macros.Eric Holk-0/+17
2012-07-06Select on pipes.Eric Holk-356/+125
Updating syntax and test cases.
2012-07-06Enabling pipes for all stages, and updating closure syntax.Eric Holk-13/+11
2012-07-06Moved pipes runtime support to libcore, and add a test that will help verify ↵Eric Holk-0/+59
that busy waiting is no longer happening. Fixing the result of a bad merge.
2012-07-06send only takes one data argument.Eric Holk-2/+2
2012-07-06Macro and iface tricks to simulate self move.Eric Holk-0/+307
2012-07-06Progress towards pipes.Eric Holk-37/+61
2012-07-06An example using pipes with most of the synchronization code in place.Eric Holk-0/+247
Fixed a bug in the atomic intrinsics where they wouldn't correctly return their old value. Pipes currently busy wait. The next step is to teach the scheduler how to deal with them.
2012-07-06First example of a program using pipes.Eric Holk-0/+110
2012-07-05Fix test that was using rust_task_allow_kill incorrectlyBrian Anderson-2/+4
2012-07-05A new `times` method on numeric typesBen Striegel-4/+17
This method is intended to elegantly subsume two common iteration functions. The first is `iter::range`, which is used identically to the method introduced in this commit, but currently works only on uints. The second is a common case of `{int, i8, uint, etc.}::range`, in the case where the inductive variable is ignored. Compare the usage of the three: ``` for iter::range(100u) { // do whatever } for int::range(0, 100) |_i| { // do whatever } for 100.times { // do whatever } ``` I feel that the latter reads much more nicely than the first two approaches, and unlike the first two the new method allows the user to ignore the specific type of the number (ineed, if we're throwing away the inductive variable, who cares what type it is?). A minor benefit is that this new method will be somewhat familiar to users of Ruby, from which we borrow the name "times".
2012-07-05Comments only: change TODOs to FIXMEs and annotate themTim Chevalier-2/+0
2012-07-05Consider slices to be a structural type. Closes #2748.Michael Sullivan-0/+17
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-3/+3
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-04Add tests for various ways to write 'do' and 'for' without argsBrian Anderson-0/+16
2012-07-04Remove empty argument lists from do expressionsBen Striegel-23/+23
2012-07-03test: Try to work around a resolve1 bug in class-cast-to-iface-cross-crate-2Patrick Walton-1/+1
2012-07-03test: Fix cyclic import in class-cast-to-iface-cross-crate-2Patrick Walton-2/+1
2012-07-03test: Make tag-exports not use the obsolete tag export syntaxPatrick Walton-3/+6
2012-07-03core: Convert iter::repeat to the for protocolBrian Anderson-3/+3
2012-07-03Revert "Remove rule requiring non-nil block-style statements to be ↵Brian Anderson-27/+0
semi-terminated" This reverts commit 0f5eaef5fb2443acd3ea67250c953839c3d04d38.
2012-07-03Remove rule requiring non-nil block-style statements to be semi-terminatedBrian Anderson-0/+27
This is a subtle rule that no longer seems to be required.
2012-07-03Change crust -> extern.Graydon Hoare-14/+14
2012-07-03Switch 'native' to 'extern' (or 'foreign' in some descriptions)Graydon Hoare-82/+82
2012-07-02rustc: Implement a new resolve pass behind a compile flagPatrick Walton-4/+20
2012-07-02Start sketching some traitorous code (xfail'd)Lindsey Kuper-0/+46
2012-07-02Merge remote-tracking branch 'Dretch/prettydocs'Brian Anderson-3/+3
Conflicts: src/compiletest/errors.rs src/libsyntax/parse/attr.rs src/libsyntax/parse/comments.rs src/test/compile-fail/ambig_impl_unify.rs src/test/compile-fail/assign-super.rs src/test/compile-fail/bad-for-loop.rs src/test/compile-fail/bad-var-env-capture-in-block-arg.rs src/test/compile-fail/block-arg-as-stmt-with-value.rs src/test/compile-fail/borrowck-assign-comp-idx.rs src/test/compile-fail/borrowck-lend-flow.rs src/test/compile-fail/borrowck-loan-blocks-move-cc.rs src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs src/test/compile-fail/borrowck-loan-rcvr.rs src/test/compile-fail/borrowck-loan-vec-content.rs src/test/compile-fail/borrowck-mut-vec-as-imm-slice-bad.rs src/test/compile-fail/cap-clause-with-stack-closure.rs src/test/compile-fail/do1.rs src/test/compile-fail/do2.rs src/test/compile-fail/empty-vec-trailing-comma.rs src/test/compile-fail/evec-subtyping.rs src/test/compile-fail/issue-1896.rs src/test/compile-fail/issue-2149.rs src/test/compile-fail/issue-2150.rs src/test/compile-fail/issue-2487-b.rs src/test/compile-fail/kindck-implicit-close-over-mut-var.rs src/test/compile-fail/liveness-issue-2163.rs src/test/compile-fail/liveness-use-in-index-lvalue.rs src/test/compile-fail/no-reuse-move-arc.rs src/test/compile-fail/no-send-res-ports.rs src/test/compile-fail/non-const.rs src/test/compile-fail/pure-higher-order.rs src/test/compile-fail/pure-loop-body.rs src/test/compile-fail/regions-addr-of-upvar-self.rs src/test/compile-fail/regions-escape-loop-via-vec.rs src/test/compile-fail/regions-scoping.rs src/test/compile-fail/seq-args.rs src/test/compile-fail/tstate-unsat-in-called-fn-expr.rs src/test/compile-fail/tstate-unsat-in-fn-expr.rs src/test/compile-fail/vec-add.rs src/test/compile-fail/vec-concat-bug.rs src/test/compile-fail/vector-no-ann.rs
2012-07-01syntax: Support dropping argument list from for/doBrian Anderson-0/+10
2012-07-01Add two tests, one xfailed, for inferring lambda kinds in return positionBrian Anderson-0/+19