about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-06-20 14:23:40 +0200
committerGitHub <noreply@github.com>2023-06-20 14:23:40 +0200
commit6c5e212c17e6072e92042d612984776944547cc5 (patch)
tree2f79f35651cd5f887818ed7f285576056b599de1 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parenta318824b434b6f60a467dca09cd8cefcd35d24c9 (diff)
parentaba1cf159ffc53c72149703bf4f7cf072c3dd65f (diff)
downloadrust-6c5e212c17e6072e92042d612984776944547cc5.tar.gz
rust-6c5e212c17e6072e92042d612984776944547cc5.zip
Rollup merge of #112762 - chenyukang:yukang-fix-112507-argument-checking, r=compiler-errors
Sort the errors from arguments checking so that suggestions are handled properly

Fixes #112507

The algorithm of `find_issue` does not make sure the index comes out in order, which will make suggesting `remove` or `add` arguments broken in some cases.

Modifying the algorithm to obey order involves much more trivial change, so it's better to order the `errors` after iterations.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions