summary refs log tree commit diff
path: root/src/test/compile-fail/block-deinitializes-upvar.rs
AgeCommit message (Collapse)AuthorLines
2012-07-09change borrowck error msg: 'declared in outer block' -> 'captured in a ↵Ben Blum-1/+1
closure' (properly this time)
2012-07-01Convert to new closure syntaxBrian Anderson-1/+1
2012-06-15Issue #2591: Change "upvar" to "variable declared in an outer block" in testsPatrick Walton-1/+1
2012-05-31test: Update test with current error messageBrian Anderson-2/+2
These errors where previously generated by typestate, but there seem to be other passes that cover this now.
2012-03-05rustc: Lower case error messagesBrian Anderson-1/+1
2012-01-23s/block()/fn()/gNiko Matsakis-1/+1
2011-11-21Add a pass that checks that blocks are only used in safe waysMarijn Haverbeke-5/+2
Closes #1188
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-4/+4
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-06Forbid blocks from deinitializing upvarsTim Chevalier-5/+8
Move expressions where the RHS is an upvar are now forbidden within block expressions.
2011-09-01Add a test that lambdas can't deinitialize upvarsTim Chevalier-0/+8