summary refs log tree commit diff
path: root/src/test/run-pass/borrowck-rvalues-mutable.rs
AgeCommit message (Collapse)AuthorLines
2014-01-15Issue #3511 - Rationalize temporary lifetimes.Niko Matsakis-0/+12
Major changes: - Define temporary scopes in a syntax-based way that basically defaults to the innermost statement or conditional block, except for in a `let` initializer, where we default to the innermost block. Rules are documented in the code, but not in the manual (yet). See new test run-pass/cleanup-value-scopes.rs for examples. - Refactors Datum to better define cleanup roles. - Refactor cleanup scopes to not be tied to basic blocks, permitting us to have a very large number of scopes (one per AST node). - Introduce nascent documentation in trans/doc.rs covering datums and cleanup in a more comprehensive way.
2013-05-16Add two tests for rvalue mutabilityNiko Matsakis-0/+30