Patrick Walton
|
b6ed1de29e
|
Issue #2591: Change "upvar" to "variable declared in an outer block" in tests
|
2012-06-15 12:24:12 -07:00 |
|
Brian Anderson
|
615f532475
|
test: Update test with current error message
These errors where previously generated by typestate, but there seem to
be other passes that cover this now.
|
2012-05-31 00:06:10 -07:00 |
|
Brian Anderson
|
0ee96de4ee
|
rustc: Lower case error messages
|
2012-03-05 17:05:20 -08:00 |
|
Niko Matsakis
|
5e13d19cc0
|
s/block()/fn()/g
|
2012-01-23 19:06:33 -08:00 |
|
Marijn Haverbeke
|
b4217b383b
|
Add a pass that checks that blocks are only used in safe ways
Closes #1188
|
2011-11-21 11:01:15 +01:00 |
|
Marijn Haverbeke
|
fc6b7c8b38
|
Reformat for new mode syntax, step 1
Long lines were fixed in a very crude way, as I'll be following up
with another reformat in a bit.
|
2011-09-12 12:04:14 +02:00 |
|
Tim Chevalier
|
8ab02f7b21
|
Forbid blocks from deinitializing upvars
Move expressions where the RHS is an upvar are now forbidden within
block expressions.
|
2011-09-06 15:27:48 -07:00 |
|
Tim Chevalier
|
ec763bba9c
|
Add a test that lambdas can't deinitialize upvars
|
2011-09-01 16:32:05 -07:00 |
|