diff options
| author | bors <bors@rust-lang.org> | 2014-06-26 02:21:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-06-26 02:21:28 +0000 |
| commit | edb4e599ab74090364346e2f28090798913819e1 (patch) | |
| tree | 6204a62b81b51c143b4be69d0e106a56f5fc27c3 /src/libsyntax/parse | |
| parent | 9f8149e185fe55751b8d8675021d2066249abe54 (diff) | |
| parent | e880c42920592558c5c7d3d7cfdf339bb4ab08d1 (diff) | |
| download | rust-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
