summary refs log tree commit diff
path: root/src/rustc/middle/borrowck
AgeCommit message (Collapse)AuthorLines
2012-07-09Switch 'cont' to 'again' everywhere. Close #2229.Graydon Hoare-1/+1
2012-07-06For #2229, recognize 'again' in place of 'cont', final change pending snapshot.Graydon Hoare-1/+1
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-38/+37
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-04Remove empty argument lists from do expressionsBen Striegel-4/+4
2012-07-01Convert to new closure syntaxBrian Anderson-42/+40
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-16/+16
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-7/+7
2012-06-26Change 'native' and 'crust' to 'extern'.Graydon Hoare-3/+3
This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI.
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-8/+7
2012-06-25rustc: Make 'do' work with effects the same as 'for'Brian Anderson-1/+1
2012-06-24Remove resourcesTim Chevalier-9/+3
Also fixed shapes for classes with dtors, as well as handling offsets for classes with dtors correctly in take glue. Closes #2485
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-7/+7
2012-06-21Issue #2657: track mutability of bindings, also prevent move from bindingsNiko Matsakis-6/+26
2012-06-21handle moves in let initializers and allow moves from unsafe ptrsNiko Matsakis-0/+16
Related to issue #2657, but this is not a complete fix.
2012-06-20Remove bind. Issue #2189Brian Anderson-1/+1
2012-06-18Add 'do' expressionsBrian Anderson-1/+1
2012-06-17Issue #2633: remove last_use entries that are subject to a loanNiko Matsakis-0/+21
2012-06-15Handle index expressions' callee IDs correctlyTim Chevalier-1/+1
Some code that handles unary and binary exprs' callee IDs was forgetting to handle the index expr case (since calls to user-defined index operators also have callee IDs). This was manifesting as an ICE in trans because when monomorphizing a function that had one of these operators in it (an index into a dvec, in the test case), the callee ID would be unbound to a type. Fixed it. Closes #2631.
2012-06-13Box AST identsBrian Anderson-3/+4
2012-06-12Correct typo in commentTim Chevalier-1/+1
2012-06-12Treat enums with one variant specially in borrowck: #2573Niko Matsakis-25/+71
2012-06-08avoid rooting @ptrs that live in immutable, stable memoryNiko Matsakis-30/+50
2012-06-07Comments only: annotate FIXMEsTim Chevalier-0/+1
2012-06-06some (very little) work on commentingNiko Matsakis-1/+9
2012-06-06move borrowck to dvec, insert a few minor copiesNiko Matsakis-17/+20
2012-06-06distinguish by-val passes of pointer and non-pointer thingsNiko Matsakis-1/+8
2012-06-06exempt unsafe ptrs from by-val checksNiko Matsakis-1/+3
2012-06-04handle fixed-length vecs in borrowck categorizationNiko Matsakis-16/+29
2012-06-02Allow rcvrs to be borrowed; check rcvrs in borrowck properlyNiko Matsakis-48/+109
2012-06-02improve borrowck to handle some frankly rather tricky casesNiko Matsakis-37/+123
- receivers of method calls are also borrowed - by-val arguments are also borrowed (needs tests) - assignment to components can interfere with loans
2012-06-01break up borrowck into modules and begin to document how it worksNiko Matsakis-0/+1542