diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2021-12-26 16:47:10 +0300 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2021-12-26 16:47:10 +0300 |
| commit | f4cb0ff9bea204e7cd1744dea28ec447298a9df7 (patch) | |
| tree | 81ebf92da3327ebf4034c85df09f35dc89abd71c /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | c456b217d808058d2515dd909bc4f68206de340e (diff) | |
| download | rust-f4cb0ff9bea204e7cd1744dea28ec447298a9df7.tar.gz rust-f4cb0ff9bea204e7cd1744dea28ec447298a9df7.zip | |
internal: move ws attachment logic to the parser crate
This has to re-introduce the `sink` pattern, because doing this purely with iterators is awkward :( Maaaybe the event vector was a false start? But, anyway, I like the current factoring more -- it sort-of obvious that we do want to keep ws-attachment business in the parser, and that we also don't want that to depend on the particular tree structure. I think `shortcuts` module achieves that.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
