diff options
| author | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2021-06-24 18:22:28 -0500 |
|---|---|---|
| committer | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2021-07-25 22:53:32 -0500 |
| commit | b305d62e5b9e08c6f4540de0a349fbf6da3dc0e4 (patch) | |
| tree | 91c0b7b4d05f417567592f027bb63ef433d5f5b2 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | e634a6f9a8ad9435f2d9f6bbfb6a8eb018ee8e3f (diff) | |
| download | rust-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
