about summary refs log tree commit diff
path: root/src/test/compile-fail/block-deinitializes-upvar.rs
AgeCommit message (Collapse)AuthorLines
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