about summary refs log tree commit diff
path: root/src/test/compile-fail/issue-511.rs
AgeCommit message (Collapse)AuthorLines
2014-01-29Fixes temporary lifetime computation for static itemsFlavio Percoco-21/+0
closes: #11854
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-2/+2
2013-05-22test: Update tests to use the new syntax.Patrick Walton-2/+2
2013-04-30new borrow checker (mass squash)Niko Matsakis-1/+1
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-1/+1
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-1/+1
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-1/+1
imports
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-10-05Demode some code using by-mutbl-ref; warn about by-mutbl-refTim Chevalier-3/+3
The parser now warns about use of mutbl-ref mode, though it's kind of a lie since this commit doesn't remove support for the mode. Changed move_val_init to have stage0 and stage1/2 versions, the latter of which is demoded. Changed the type that the typechecker expects the move_val_init intrinsic to have. After this is pushed, I can make a new snapshot, which will remove the need for the stage0 versions.
2012-09-11Introduce auto adjustment table to subsume autoderef/autoref/borrowings.Niko Matsakis-2/+1
Fixes #3261 Fixes #3443
2012-09-11Convert 'use' to 'extern mod'. Remove old 'use' syntaxBrian Anderson-1/+1
2012-09-05test: "import" -> "use"Patrick Walton-2/+1
2012-08-29rustc: Make `<` and `=` into traitsPatrick Walton-2/+3
2012-08-26Camel case the option typeBrian Anderson-3/+3
2012-07-30Fix #2979: inference for lifetimes of & expressionsNiko Matsakis-2/+1
What we now do is to create a region variable for each & expression (and also each borrow). The lifetime of this variable will be checked by borrowck to ensure it is not greater than the lifetime of the underlying data. This both leads to shorter lifetimes in some cases but also longer in others, such as taking the address to the interior of unique boxes tht are rooted in region pointers (e.g., returning a pointer to the interior of a sendable map). This may lead to issue #2977 if the rvalue is not POD, because we may drop the data in trans sooner than borrowck expects us to. Need to work out precisely where that fix ought to occur.
2012-06-30change the test suite `//! kind` syntax to `//~ kind` in order to avoid aGareth Daniel Smith-3/+3
conflict with the new single-line-sugared-inner-doc-comment (`//! ...`).
2012-06-08remove alias analysis and replace with borrowckNiko Matsakis-4/+2
This reverts commit 7ef825bb607c4e934c92bd0b73ecbc4c24f3286b.
2012-06-07Revert "remove alias analysis and replace with borrowck"Brian Anderson-2/+4
18s perf regression compiling rustc with opts This reverts commit 7f6ee0ce0df8af4c21b065cb49b95079ae643f77.
2012-06-07remove alias analysis and replace with borrowckNiko Matsakis-4/+2
cc #2540
2012-06-06mask extra borrowck errors (should find out how to not report those)Niko Matsakis-2/+4
2012-06-06minor changes to tests so they pass borrowckNiko Matsakis-0/+2
2012-05-10replace mutbl pass with borrowckNiko Matsakis-0/+11