about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-06-26 02:21:28 +0000
committerbors <bors@rust-lang.org>2014-06-26 02:21:28 +0000
commitedb4e599ab74090364346e2f28090798913819e1 (patch)
tree6204a62b81b51c143b4be69d0e106a56f5fc27c3 /src/libsyntax/parse
parent9f8149e185fe55751b8d8675021d2066249abe54 (diff)
parente880c42920592558c5c7d3d7cfdf339bb4ab08d1 (diff)
downloadrust-edb4e599ab74090364346e2f28090798913819e1.tar.gz
rust-edb4e599ab74090364346e2f28090798913819e1.zip
auto merge of #15184 : jbclements/rust/for-loop-hygiene-etc, r=jbclements
It turns out that bindings introduced by 'for' loops were not treated hygienically. The fix for this is to make the 'for' expansion more like a macro; rather than expanding sub-pieces and then assembling them, we need to rewrite the for and then call expand again on the whole thing.

This PR includes a test and the fix.

It also contains a number of other things:
- unit tests for other forms of hygiene (currently ignored)
- a fix for the isaac.rs macro that (it turned out) was relying on capturing
- other miscellaneous cleanup and comments
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions