diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2023-06-20 14:23:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-20 14:23:40 +0200 |
| commit | 6c5e212c17e6072e92042d612984776944547cc5 (patch) | |
| tree | 2f79f35651cd5f887818ed7f285576056b599de1 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | a318824b434b6f60a467dca09cd8cefcd35d24c9 (diff) | |
| parent | aba1cf159ffc53c72149703bf4f7cf072c3dd65f (diff) | |
| download | rust-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 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
