about summary refs log tree commit diff
path: root/src/test/compile-fail/lambda-mutate-nested.rs
AgeCommit message (Collapse)AuthorLines
2011-10-07Add pass-by-ref annotation to the tests to make them typecheckMarijn Haverbeke-1/+3
Issue #1008
2011-09-01Make resolve recognize upvarsMarijn Haverbeke-1/+1
Upvars are now marked with def_upvar throughout, not just when going through freevars::lookup_def. This makes things less error-prone. One thing to watch out for is that def_upvar is used in `for each` bodies too, when they refer to a local outside the body.
2011-08-20ReformatBrian Anderson-4/+1
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-04Prohibit assignment to upvars in lambdas. Closes #805.Michael Sullivan-0/+16