Niko Matsakis
|
c225824bde
|
Require braces when a closure has an explicit return type. This is a
[breaking-change]: instead of a closure like `|| -> i32 22`, prefer `||
-> i32 { 22 }`.
Fixes #23420.
|
2015-03-18 20:07:27 -04:00 |
|
Huon Wilson
|
0c70ce1424
|
Update compile fail tests to use isize.
|
2015-01-08 11:02:24 -05:00 |
|
Luqman Aden
|
5d39d0befa
|
tests: Remove uses of advance.
|
2014-07-09 15:51:58 -07:00 |
|
Patrick Walton
|
af79a5aa7d
|
test: Make manual changes to deal with the fallout from removal of
`~[T]` in test, libgetopts, compiletest, librustdoc, and libnum.
|
2014-03-21 23:37:21 +11:00 |
|
Patrick Walton
|
579eb2400b
|
test: Automatically remove all ~[T] from tests.
|
2014-03-21 23:37:21 +11:00 |
|
Daniel Micay
|
ce620320a2
|
rename std::vec -> std::slice
Closes #12702
|
2014-03-20 01:30:27 -04:00 |
|
Daniel Micay
|
e67c48a591
|
remove each from vec, HashMap and HashSet
|
2013-06-25 16:28:02 -04:00 |
|
Patrick Walton
|
206ab89629
|
librustc: Stop reexporting the standard modules from prelude.
|
2013-05-29 19:04:53 -07:00 |
|
Patrick Walton
|
30bb09c0e7
|
test: Remove fn@ , fn~ , and fn& from the test suite. rs=defun
|
2013-03-02 18:47:47 -08:00 |
|
Graydon Hoare
|
d1affff623
|
Reliciense makefiles and testsuite. Yup.
|
2012-12-10 17:32:58 -08:00 |
|
Niko Matsakis
|
9cf271fe96
|
De-mode vec::each() and many of the str iteration routines
Note that the method foo.each() is not de-moded, nor the other
vec routines.
|
2012-09-19 10:52:59 -07:00 |
|
Niko Matsakis
|
8d4928f780
|
Revert "replace explicit calls to vec::each with vec::each_ref, partially demode str"
This reverts commit 1be24f0758 .
Not quite ready.
|
2012-09-18 21:41:13 -07:00 |
|
Niko Matsakis
|
1be24f0758
|
replace explicit calls to vec::each with vec::each_ref, partially demode str
|
2012-09-18 21:31:00 -07:00 |
|
Niko Matsakis
|
9a77a17e3b
|
unxfail-test and try to test for similar conditions as before
fixes #2772
|
2012-08-09 11:00:44 -07:00 |
|
Brian Anderson
|
569467eb0d
|
Merge remote-tracking branch 'Dretch/prettydocs'
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-02 15:23:41 -07:00 |
|
Brian Anderson
|
d1fc2b5995
|
Convert to new closure syntax
|
2012-07-01 19:19:32 -07:00 |
|
Brian Anderson
|
a3382b6f26
|
Eliminate usages of old sugared call syntax
|
2012-06-30 16:01:49 -07:00 |
|
Gareth Daniel Smith
|
6d86969260
|
change the test suite //! kind syntax to //~ kind in order to avoid a
conflict with the new single-line-sugared-inner-doc-comment (`//! ...`).
|
2012-06-30 12:23:59 +01:00 |
|
Michael Sullivan
|
98e161f00e
|
Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.
|
2012-06-29 17:41:45 -07:00 |
|
Michael Sullivan
|
329eca6044
|
Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.
|
2012-06-25 20:00:46 -07:00 |
|
Niko Matsakis
|
0d3811e275
|
improve liveness so it reports unused vars / dead assignments
doesn't warn about pattern bindings yet though
|
2012-05-24 09:52:16 -07:00 |
|
Niko Matsakis
|
30b47649ea
|
new liveness pass to supercede last_use / initedness
|
2012-05-24 09:52:03 -07:00 |
|