diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-05-10 08:24:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-10 08:24:04 +0200 |
| commit | 9a3f17b34d59329a931c10086d5e98b3dea26ee7 (patch) | |
| tree | c10121bf83c96c61ed6a302da248cc4e96bab2ac /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 7b32e9304b12f1e5b06573c7bf80c5d23e1d9083 (diff) | |
| parent | 1d68e6d67452c0de61e133553a28c8871e96837a (diff) | |
| download | rust-9a3f17b34d59329a931c10086d5e98b3dea26ee7.tar.gz rust-9a3f17b34d59329a931c10086d5e98b3dea26ee7.zip | |
Rollup merge of #96823 - jackh726:params-heuristics-fix, r=estebank
Properly fix #96638 Closes #96638 The main part of this change is `Error::Invalid` now returns both the input and arg indices. However, I realized the code here was kind of confusing and not internally consistent (and thus I was having trouble getting the right behavior). So I've also switched `input_indices` and `arg_indices` to more closely match some naming in `checks` (although I think a more thorough cleanup there could be beneficial). I've added comments, but essentially `input_indices` refers to *user provided* inputs and `arg_indices` refers to *expected* args.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
