about summary refs log tree commit diff
path: root/src/comp/middle/fn_usage.rs
AgeCommit message (Collapse)AuthorLines
2011-12-14restore old functionality for nowNiko Matsakis-7/+25
2011-12-14first attempt, not happy with itNiko Matsakis-25/+7
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-1/+1
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-10Cleanup unused importsHaitao Li-1/+1
2011-10-21Change the way block calls are parsed, mark them as block-calls.Marijn Haverbeke-1/+1
This makes it possible to omit the semicolon after the block, and will cause the pretty-printer to properly print such calls (if pretty-printing of blocks wasn't so broken). Block calls (with the block outside of the parentheses) can now only occur at statement level, and their value can not be used. When calling a block-style function that returns a useful value, the block must be put insde the parentheses. Issue #1054
2011-10-13Remove an unnecessary visitor from rustc::middle::fn_usageBrian Anderson-8/+1
2011-10-13Fix a use of visit in rustc::middle::fn_usageBrian Anderson-1/+1
This was working by just skipping an AST node instead of doing the advertised check. I can't find a test case for it, but this is more correct.
2011-10-13Don't allow the value of generic bare functions to be takenBrian Anderson-5/+36
Issue #1038
2011-10-13Rename rustc::middle::unsafeck to fn_usageBrian Anderson-0/+72
I'm going to add further checks unrelated to unsafe. Issue #1038