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:
authorCaleb Cartwright <calebcartwright@users.noreply.github.com>2021-06-24 18:22:28 -0500
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2021-07-25 22:53:32 -0500
commitb305d62e5b9e08c6f4540de0a349fbf6da3dc0e4 (patch)
tree91c0b7b4d05f417567592f027bb63ef433d5f5b2 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parente634a6f9a8ad9435f2d9f6bbfb6a8eb018ee8e3f (diff)
downloadrust-b305d62e5b9e08c6f4540de0a349fbf6da3dc0e4.tar.gz
rust-b305d62e5b9e08c6f4540de0a349fbf6da3dc0e4.zip
fix: correct arm leading pipe check (#4880)
In the event a pattern starts with a leading pipe
the pattern span will contain, and begin with, the pipe.

This updates the process to see if a match arm contains
a leading pipe by leveraging this recent(ish) change to
the patterns in the AST, and avoids an indexing bug that
occurs when a pattern starts with a non-ascii char in the
old implementation.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions