about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2020-09-24 10:45:51 -0400
committerAaron Hill <aa1ronham@gmail.com>2020-09-28 19:14:42 -0400
commit46d8c4bdb7318a50d9df12a7a0b0bcc8efc1846e (patch)
tree332b581b7fac4a61ac0860cf8769da7d752ec350 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parentd62d3f7fa9a91d933213cc10e20e740608983f64 (diff)
downloadrust-46d8c4bdb7318a50d9df12a7a0b0bcc8efc1846e.tar.gz
rust-46d8c4bdb7318a50d9df12a7a0b0bcc8efc1846e.zip
Fix recursive nonterminal expansion during pretty-print/reparse check
Makes progress towards #43081

In PR #73084, we started recursively expanded nonterminals during the
pretty-print/reparse check, allowing them to be properly compared
against the reparsed tokenstream.

Unfortunately, the recursive logic in that PR only handles the case
where a nonterminal appears inside a `TokenTree::Delimited`. If a
nonterminal appears directly in the expanded tokens of another
nonterminal, the inner nonterminal will not be expanded.

This PR fixes the recursive expansion of nonterminals, ensuring that
they are expanded wherever they occur.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions