about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-05-10 08:24:04 +0200
committerGitHub <noreply@github.com>2022-05-10 08:24:04 +0200
commit9a3f17b34d59329a931c10086d5e98b3dea26ee7 (patch)
treec10121bf83c96c61ed6a302da248cc4e96bab2ac /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent7b32e9304b12f1e5b06573c7bf80c5d23e1d9083 (diff)
parent1d68e6d67452c0de61e133553a28c8871e96837a (diff)
downloadrust-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