about summary refs log tree commit diff
path: root/src/test/run-fail
AgeCommit message (Collapse)AuthorLines
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
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-91/+91
2013-02-11rt: remove last_os_error and adjust tests.Luqman Aden-2/+2
2013-02-03rename map -> oldmap and mark it as deprecatedDaniel Micay-3/+3
LinearMap is quite a bit faster, and is fully owned/sendable without requiring copies. The older std::map also doesn't use explicit self and relies on mutable fields.
2013-02-01Remove fail keyword from lexer & parser and clean up remaining calls toNick Desaulniers-8/+8
fail Fix merge conflicts - Issue 4524
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-1/+1
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-113/+113
2013-01-31Finalize moves-based-on-type implementation.Niko Matsakis-0/+1
Changes: - Refactor move mode computation - Removes move mode arguments, unary move, capture clauses (though they still parse for backwards compatibility) - Simplify how moves are handled in trans - Fix a number of illegal copies that cropped up - Workaround for bug involving def-ids in params (see details below) Future work (I'll open bugs for these...): - Improve error messages for moves that are due to bindings - Add support for moving owned content like a.b.c to borrow check, test in trans (but I think it'll "just work") - Proper fix for def-ids in params Def ids in params: Move captures into a map instead of recomputing. This is a workaround for a larger bug having to do with the def-ids associated with ty_params, which are not always properly preserved when inlining. I am not sure of my preferred fix for the larger bug yet. This current fix removes the only code in trans that I know of which relies on ty_param def-ids, but feels fragile.
2013-01-30test: De-export aux, bench, compile-fail, and run-fail. rs=deexportingPatrick Walton-9/+4
2013-01-30Remove oldcomm from the test suiteBrian Anderson-56/+13
2013-01-29librustc: Disallow trait bounds in types, enumerations, and structure ↵Patrick Walton-2/+2
definitions. r=tjc
2013-01-26testsuite: Eliminate structural records from run-fail testsTim Chevalier-7/+21
2013-01-24librustc: Allow `&mut` to be loaned; allow `self` to be loaned; make `&mut` ↵Patrick Walton-0/+0
loanable to `&`. r=nmatsakis
2013-01-24librustc: Make C functions unsafePatrick Walton-4/+8
2013-01-23libsyntax: Implement `assert` as a macro (called `fail_unless!` on a ↵Patrick Walton-0/+6
transitionary basis to avoid conflicting with the keyword right now). r=brson
2013-01-23libsyntax: Remove `fn() unsafe { ... }`. r=graydonPatrick Walton-14/+20
2013-01-20testsuite: Un-xfail test for #3029 and move to run-failTim Chevalier-0/+17
2013-01-17librustc: Implement write guards for borrowing `@mut` to `&` or `&mut`. ↵Patrick Walton-0/+32
r=nmatsakis
2013-01-15librustc: Make the default sigil for block lambdas `&` instead of `@`.Graydon Hoare-1/+1
2013-01-10mode: reset mode on entry to fn body.Niko Matsakis-1/+1
This is an interim fix to address the "Beware!" unsoundness. I have a more comprehensive rewrite of mode.rs in the pipeline. r=pcwalton
2012-12-14Fix broken testsBrian Anderson-1/+1
2012-12-14Rename core::comm to core::oldcommBrian Anderson-16/+16
2012-12-13Rename Send trait to OwnedBrian Anderson-4/+4
2012-12-10Adjust the die macro to only accept ~str and to work in statement positionBrian Anderson-0/+19
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+1020
2012-12-06test: Fix some run-fail bustage. rs=bustagePatrick Walton-4/+4
2012-11-29librustc: Make the Drop trait use explicit selfPatrick Walton-7/+7
2012-11-16re-xfail two testsBrian Anderson-0/+2
2012-11-15Update and un-xfail testsTim Chevalier-33/+37
2012-11-14Convert the test suite to use the Drop traitBen Striegel-30/+55
2012-11-01xfail issue-2061Brian Anderson-0/+1
2012-11-01Add run-fail test for #2061Tim Chevalier-0/+11
2012-10-30Preserve parenthesization in the ASTTim Chevalier-4/+4
Maintain explicit "paren" nodes in the AST so we can pretty-print without having to guess where parens should go. We may revisit this in the future. r=graydon
2012-10-23Remove uses of binary move - <- - from tests and librariesTim Chevalier-2/+2
2012-10-21Fix ICE stemming from use of unique pointers in unreachable blocks.Josh Matthews-0/+5
2012-10-12Make moves explicit in rfail testsTim Chevalier-4/+4
2012-10-04De-mode comm::ChanTim Chevalier-1/+1
2012-09-30When a vec/str bounds check fails, include the bad index and the length of ↵Gareth Daniel Smith-8/+8
the str/vec in the fail message.
2012-09-26Fix test/run-fail/issue-2156Brian Anderson-1/+1
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-2/+2
2012-09-25Demode core::resultBrian Anderson-1/+1
2012-09-23xfail-test run-fail/out-of-stack-managed-boxBrian Anderson-0/+2
2012-09-21Remove bogus commentBrian Anderson-1/+0
2012-09-21Add tests for out-of-stack box leak #2555Brian Anderson-0/+25
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+3
#[legacy_exports];
2012-09-18core: Rename 'unsafe' mod to 'cast'Brian Anderson-3/+3
2012-09-14test: Use vec::as_imm_buf in bug-2470-bounds-check-overflow.rsPatrick Walton-2/+2