about summary refs log tree commit diff
path: root/src/test/run-fail
AgeCommit message (Collapse)AuthorLines
2013-05-14Fix cosmetics for fail!() callsMarvin Löbel-2/+2
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-37/+37
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-09test: Add two tests for issue #6272.Niko Matsakis-0/+21
2013-05-09auto merge of #6345 : seanmoon/rust/fix-typos, r=sanxiynbors-1/+1
Hi there, Really enjoying Rust. Noticed a few typos so I searched around for a few more--here's some fixes. Ran `make check` and got `summary of 24 test runs: 4868 passed; 0 failed; 330 ignored`. Thanks! Sean
2013-05-08test: Fix tests.Patrick Walton-3/+3
2013-05-09Fix typosSean Moon-1/+1
2013-05-06Merge remote-tracking branch 'mozilla/incoming' into issue-5910-dyna-freezeNiko Matsakis-0/+28
2013-05-06Add assert_approx_eq! macroBrendan Zabarauskas-0/+28
2013-05-05Fix two more write guard failuresNiko Matsakis-0/+38
2013-05-05Merge remote-tracking branch 'mozilla/incoming' into issue-5910-dyna-freezeNiko Matsakis-5/+2
Conflicts: src/libcore/core.rc src/libcore/hashmap.rs src/libcore/num/f32.rs src/libcore/num/f64.rs src/libcore/num/float.rs src/libcore/num/int-template.rs src/libcore/num/num.rs src/libcore/num/strconv.rs src/libcore/num/uint-template.rs src/libcore/ops.rs src/libcore/os.rs src/libcore/prelude.rs src/libcore/rt/mod.rs src/libcore/unstable/lang.rs src/librustc/driver/session.rs src/librustc/middle/astencode.rs src/librustc/middle/borrowck/check_loans.rs src/librustc/middle/borrowck/gather_loans.rs src/librustc/middle/borrowck/loan.rs src/librustc/middle/borrowck/preserve.rs src/librustc/middle/liveness.rs src/librustc/middle/mem_categorization.rs src/librustc/middle/region.rs src/librustc/middle/trans/base.rs src/librustc/middle/trans/inline.rs src/librustc/middle/trans/reachable.rs src/librustc/middle/typeck/check/_match.rs src/librustc/middle/typeck/check/regionck.rs src/librustc/util/ppaux.rs src/libstd/arena.rs src/libstd/ebml.rs src/libstd/json.rs src/libstd/serialize.rs src/libstd/std.rc src/libsyntax/ast_map.rs src/libsyntax/parse/parser.rs src/test/compile-fail/borrowck-uniq-via-box.rs src/test/compile-fail/regions-infer-borrow-scope-within-loop.rs src/test/run-pass/borrowck-nested-calls.rs
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-4/+1
2013-05-03rustc: add rooting, write-guards to slices etcNiko Matsakis-0/+96
2013-05-01Revert rename of Div to QuotBrendan Zabarauskas-1/+1
2013-04-30remove some unused mut declsNiko Matsakis-6/+6
2013-04-29librustc: Rename `reinterpret_cast` to `transmute_copy` and remove the intrinsicPatrick Walton-2/+2
2013-04-28make way for a new iter moduleDaniel Micay-1/+3
2013-04-27auto merge of #6081 : brson/rust/out-of-stack, r=thestingerbors-83/+0
People hit the recursion depth limit too often, it's not possible to unwind reliably from out-of-stack. Issues #3555, #3695
2013-04-26rt: Set the stack depth limit to 1GB. Abort on error.Brian Anderson-83/+0
People hit the recursion depth limit too often, it's not possible to unwind reliably from out-of-stack. Issues #3555, #3695
2013-04-26Added test cases for all fail message formatsMarvin Löbel-0/+120
2013-04-25Made fail! and assert! accept both &'static str and ~str, as well as a fmt! ↵Marvin Löbel-1/+1
like format list. Unwinding through macros now happens as a call to the trait function `FailWithCause::fail_with()`, which consumes self, allowing to use a more generic failure object in the future.
2013-04-24Improve divide-by-zero error messagesBrendan Zabarauskas-2/+2
2013-04-22Rename Div operator trait to Quot and Modulo operator trait to RemBrendan Zabarauskas-2/+2
2013-04-03rename Linear{Map,Set} => Hash{Map,Set}Daniel Micay-1/+1
2013-04-03hashmap: rm linear namespaceDaniel Micay-1/+1
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-16/+16
2013-03-23turn std::oldmap into a wrapper around LinearMapDaniel Micay-5/+3
2013-03-22test: Remove `pure` from the test suitePatrick Walton-2/+2
2013-03-22test: replace uses of old deriving attribute with new oneAndrew Paseltiner-1/+1
2013-03-21auto merge of #5480 : pcwalton/rust/at-const, r=pcwaltonbors-0/+1
r? @catamorphism
2013-03-21librustc: Forbid destructors from being attached to any structs that might ↵Patrick Walton-0/+1
contain non-Owned fields. r=nmatsakis
2013-03-20add assert_eq! macroJohn Clements-0/+8
the assert_eq! macro compares its arguments and fails if they're not equal. It's more informative than fail_unless!, because it explicitly writes the given and expected arguments on failure.
2013-03-19Allow custom messages on assert statementsAlex Crichton-0/+15
2013-03-13librustc: Remove implicit self from the language, except for old-style drop ↵Patrick Walton-2/+2
blocks.
2013-03-13Remove `++` mode from the compiler (it is parsed as `+` mode)Niko Matsakis-1/+1
and obsolete `-` mode altogether (it *was* parsed as `+` mode).
2013-03-11Remove the log keyword (by renaming it to __log)Brian Anderson-14/+0
We can't quite remove logging from the language, but this hides the keyword.
2013-03-11Remove uses of logBrian Anderson-22/+22
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-2/+2
2013-03-07test: Fix tests.Patrick Walton-2/+5
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-14/+14
2013-03-07librustc: Remove "extern mod { ... }" from librustc, librustdoc, and tests. ↵Patrick Walton-5/+9
rs=deexterning
2013-03-02test: Remove `fn@`, `fn~`, and `fn&` from the test suite. rs=defunPatrick Walton-8/+9
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-2/+2
imports
2013-02-28Remove legacy object creation mode, and convert remaining uses of itNiko Matsakis-1/+1
2013-02-27Turn old `drop` blocks into `Drop` traitsBen Striegel-3/+12
2013-02-23test: Fix comments in pretty-printed test. rs=burningtreePatrick Walton-2/+2
2013-02-21core: Extract comm from pipes. #4742Brian Anderson-7/+7
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-1/+1
2013-02-15tests/tutorials: Get rid of `move`.Luqman Aden-9/+9
2013-02-14libcore: Remove ptr::mut_addr_of since &mut is coerced to *mutLuqman Aden-1/+1
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-15/+15
rs=implflipping