about summary refs log tree commit diff
path: root/src/test
AgeCommit message (Collapse)AuthorLines
2014-10-07auto merge of #17787 : bgamari/rust/fix-quote-method, r=huonwbors-0/+1
The previous fix introduced in 75d49c8203405ab0af7a2b8b8698af02868fdbc2 neglected to parse outer attributes as described in #17782.
2014-10-07auto merge of #17807 : nick29581/rust/slice6, r=aturonbors-24/+60
r? @aturon
2014-10-07Rename slicing methodsNick Cameron-6/+6
2014-10-07Put slicing syntax behind a feature gate.Nick Cameron-1/+37
[breaking-change] If you are using slicing syntax you will need to add #![feature(slicing_syntax)] to your crate.
2014-10-07Use slice syntax instead of slice_to, etc.Nick Cameron-17/+17
2014-10-06Revise DST test to not require duplicate errors.Aaron Turon-2/+0
2014-10-06syntax: Parse outer attributes in quote_method!Ben Gamari-0/+1
Fixes #17782.
2014-10-06auto merge of #17803 : bkoropoff/rust/issue-17021, r=alexcrichtonbors-0/+2
This closes issue #17021.
2014-10-06auto merge of #17781 : P1start/rust/bitflags-lints, r=alexcrichtonbors-10/+10
Closes #17773.
2014-10-06Rename the file permission statics in std::io to be uppercaseP1start-10/+10
For example, this renames `GroupRWX` to `GROUP_RWX`, and deprecates the old name. Code using these statics should be updated accordingly.
2014-10-06auto merge of #17414 : jakub-/rust/issue-17405, r=alexcrichtonbors-1/+58
Fixes #17405. Fixes #17518. Fixes #17800.
2014-10-05Fix handling of struct variants in a couple of placesJakub Wieczorek-1/+58
Fixes #17405. Fixes #17518. Fixes #17800.
2014-10-05Build regression test for issue #17021 with -gBrian Koropoff-0/+2
This causes it to hit the previously ICEing debuginfo codepath
2014-10-05auto merge of #17762 : bkoropoff/rust/issue-17734, r=alexcrichtonbors-0/+23
Closes issue #17734 r? @nick29581
2014-10-05Add regression test for issue #17734Brian Koropoff-0/+23
2014-10-05auto merge of #17785 : P1start/rust/diagnostics, r=alexcrichtonbors-3/+43
Closes #17765. Closes #15524. Closes #14772.
2014-10-05auto merge of #16970 : kmcallister/rust/llvm-unreachable, r=thestingerbors-0/+81
I'm not sure how to add an automated test for this.
2014-10-04Add tests for intrinsics::unreachableKeegan McAllister-0/+81
2014-10-05Give a more descriptive error when marking non-test items as #[test]P1start-0/+16
Closes #14772.
2014-10-05Tweak ‘discriminant value already exists’ error messageP1start-1/+25
Closes #15524.
2014-10-05Rename vector patterns to array patternsP1start-2/+2
Closes #17765.
2014-10-04auto merge of #17761 : bkoropoff/rust/issue-17758, r=alexcrichtonbors-0/+22
This fixes an ICE and closes issue #17758
2014-10-04auto merge of #17760 : bkoropoff/rust/issue-17737, r=eddybbors-0/+24
This is a quick fix. In the long term, the `TyVisitor` interface should be expanded to better represent closure types. Closes issue #17737
2014-10-04auto merge of #17755 : alexcrichton/rust/unblock-snapshot, r=eddybbors-2/+1
Hopefully unblocks a snapshot
2014-10-03Add regression test for issue #17758Brian Koropoff-0/+22
2014-10-03Add regression test for issue #17737Brian Koropoff-0/+24
2014-10-04auto merge of #17731 : bkoropoff/rust/unboxed-by-ref, r=pcwaltonbors-7/+77
This began as an attempt to fix an ICE in borrowck (issue #17655), but the rabbit hole went pretty deep. I ended up plumbing support for capture-by-reference unboxed closures all the way into trans. Closes issue #17655.
2014-10-03test: Fix a test that fails when cross compilingAlex Crichton-2/+1
Hopefully unblocks a snapshot
2014-10-03Test fixes from the rollupAlex Crichton-14/+14
2014-10-03rollup merge of #17739 : eddyb/fix-process-testAlex Crichton-0/+53
2014-10-03rollup merge of #17730 : alexcrichton/snapshotAlex Crichton-1/+1
2014-10-03rollup merge of #17729 : alexcrichton/issue-17718-startAlex Crichton-2/+23
2014-10-03rollup merge of #17215 : P1start/lintsAlex Crichton-12/+55
2014-10-03Fix a race condition between remove_from_env and other io::process tests.Eduard Burtescu-0/+53
2014-10-03tests: remove old compile-fail test asserting the removal of `const`.Eduard Burtescu-11/+0
2014-10-03Add some more test coverage of by-ref unboxed closuresBrian Koropoff-0/+75
2014-10-03Move the lint for the stability lints to the method name onlyP1start-0/+23
Closes #17337.
2014-10-03Change rustc pretty-printing to print [T, ..n] instead of [T, .. n]P1start-9/+9
2014-10-03Correct error message for invalid `ref`/`mut` bindingsP1start-0/+14
Closes #15914.
2014-10-03Improve the `non_snake_case` lint to give better suggestionsP1start-1/+4
2014-10-03Set the `non_uppercase_statics` lint to warn by defaultP1start-2/+5
2014-10-03auto merge of #16995 : kmcallister/rust/plugin-tutorial, r=alexcrichtonbors-0/+97
@steveklabnik, are you interested in looking this over?
2014-10-02Rehabilitate an unboxed closure testBrian Koropoff-7/+2
This test works as a regression test for issue #17655. It also exercises mutation of by-ref upvars.
2014-10-02Merge branch 'travis' into rollupAlex Crichton-0/+1
Conflicts: .travis.yml
2014-10-02syntax: Enable parsing of `const` globalsAlex Crichton-0/+32
This rewrites them to the current `ItemStatic` production of the compiler, but I want to get this into a snapshot. It will be illegal to use a `static` in a pattern of a `match` statement, so all those current uses will need to be rewritten to `const` once it's implemented. This requires that the stage0 snapshot is able to parse `const`. cc #17718
2014-10-02test: Don't depend on /bin/bashAlex Crichton-1/+1
Our FreeBSD bots apparently don't have bash installed, and it's ok to run with sh anyway! Unblocks a snapshot
2014-10-02Test fixes from the rollupAlex Crichton-57/+57
2014-10-02rollup merge of #17666 : eddyb/take-garbage-outAlex Crichton-3606/+310
Conflicts: src/libcollections/lib.rs src/libcore/lib.rs src/librustdoc/lib.rs src/librustrt/lib.rs src/libserialize/lib.rs src/libstd/lib.rs src/test/run-pass/issue-8898.rs
2014-10-02rollup merge of #17722 : jakub-/issue-17169Alex Crichton-0/+6
2014-10-02rollup merge of #17721 : jakub-/resolved-issuesAlex Crichton-0/+339