| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-05-06 | Move tests from `test/run-fail` to UI | Yuki Okushi | -7/+0 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -11/+0 | |
| 2014-10-29 | Rename fail! to panic! | Steve Klabnik | -1/+1 | |
| https://github.com/rust-lang/rfcs/pull/221 The current terminology of "task failure" often causes problems when writing or speaking about code. You often want to talk about the possibility of an operation that returns a Result "failing", but cannot because of the ambiguity with task failure. Instead, you have to speak of "the failing case" or "when the operation does not succeed" or other circumlocutions. Likewise, we use a "Failure" header in rustdoc to describe when operations may fail the task, but it would often be helpful to separate out a section describing the "Err-producing" case. We have been steadily moving away from task failure and toward Result as an error-handling mechanism, so we should optimize our terminology accordingly: Result-producing functions should be easy to describe. To update your code, rename any call to `fail!` to `panic!` instead. Assuming you have not created your own macro named `panic!`, this will work on UNIX based systems: grep -lZR 'fail!' . | xargs -0 -l sed -i -e 's/fail!/panic!/g' You can of course also do this by hand. [breaking-change] | ||||
| 2014-07-01 | rustc: Remove `&str` indexing from the language. | Brian Anderson | -1/+1 | |
| Being able to index into the bytes of a string encourages poor UTF-8 hygiene. To get a view of `&[u8]` from either a `String` or `&str` slice, use the `as_bytes()` method. Closes #12710. [breaking-change] | ||||
| 2014-05-27 | std: Rename strbuf operations to string | Richo Healey | -1/+1 | |
| [breaking-change] | ||||
| 2014-05-24 | core: rename strbuf::StrBuf to string::String | Richo Healey | -1/+1 | |
| [breaking-change] | ||||
| 2014-05-14 | test: Remove all uses of `~str` from the test suite. | Patrick Walton | -2/+2 | |
| 2014-04-18 | Replace all ~"" with "".to_owned() | Richo Healey | -1/+1 | |
| 2013-10-25 | Remove ancient emacs mode lines from test cases | Brian Anderson | -1/+0 | |
| These are relics that serve no purpose. | ||||
| 2013-05-19 | Use assert_eq! rather than assert! where possible | Corey Richardson | -1/+1 | |
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -1/+1 | |
| 2013-03-07 | librustc: Convert all uses of `assert` over to `fail_unless!` | Patrick Walton | -1/+1 | |
| 2012-12-10 | Reliciense makefiles and testsuite. Yup. | Graydon Hoare | -0/+10 | |
| 2012-09-30 | When a vec/str bounds check fails, include the bad index and the length of ↵ | Gareth Daniel Smith | -1/+1 | |
| the str/vec in the fail message. | ||||
| 2012-07-14 | Move the world over to using the new style string literals and types. Closes ↵ | Michael Sullivan | -1/+1 | |
| #2907. | ||||
| 2012-04-18 | Fix [] on str to exclude the trailing null. | Graydon Hoare | -10/+1 | |
| 2011-08-20 | Reformat | Brian Anderson | -3/+3 | |
| This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[] | ||||
| 2011-07-27 | Reformat for new syntax | Marijn Haverbeke | -2/+2 | |
| 2011-06-15 | Reformat source tree (minus a couple tests that are still grumpy). | Graydon Hoare | -10/+12 | |
| 2011-05-24 | test: Fix run-fail testing and bring tests up to date | Brian Anderson | -3/+0 | |
| A typo in the Makefile was causing these to not run. Happily, a lot of these tests pass, so un-xfailed. | ||||
| 2011-05-12 | Fix mistaken replacements in error-pattern comments in tests | Marijn Haverbeke | -1/+1 | |
| 2011-05-12 | Downcase std modules again, move to :: for module dereferencing | Marijn Haverbeke | -1/+1 | |
| This should be a snapshot transition. | ||||
| 2011-05-03 | Assume xfail-stage0 implies stage1 and stage2 in tests, for now. | Graydon Hoare | -0/+2 | |
| 2011-05-02 | Un-revert "Use different syntax for checks that matter to typestate", fixing ↵ | Patrick Walton | -2/+2 | |
| the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118. | ||||
| 2011-05-02 | Revert "Use different syntax for checks that matter to typestate" | Graydon Hoare | -2/+2 | |
| This reverts commit aa25f22f197682de3b18fc4c8ba068d1feda220f. It broke stage2, not sure why yet. | ||||
| 2011-05-02 | Use different syntax for checks that matter to typestate | Tim Chevalier | -2/+2 | |
| 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-03-25 | Switch xfail system to use comments embedded in source files. | Graydon Hoare | -0/+1 | |
| 2010-07-26 | Move the test suite to the "as" form for casts. XFAIL a few tests for LLVM. | Patrick Walton | -2/+2 | |
| 2010-06-23 | Populate tree. | Graydon Hoare | -0/+16 | |
