about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/source-script.js
diff options
context:
space:
mode:
authorEsteban Kuber <esteban@kuber.com.ar>2022-05-02 19:11:03 +0000
committerEsteban Kuber <esteban@kuber.com.ar>2022-05-02 19:24:56 +0000
commit7790b6e1c075a29274b4ee1e598b2f21bf363699 (patch)
tree7307706b4a298d3d00e2a6acab7d131752733476 /src/librustdoc/html/static/js/source-script.js
parent05c07386b45fbc540ec8cdc1bc41ae9c062b453b (diff)
downloadrust-7790b6e1c075a29274b4ee1e598b2f21bf363699.tar.gz
rust-7790b6e1c075a29274b4ee1e598b2f21bf363699.zip
Mitigate impact of subtle invalid call suggestion logic
There's some subtle interaction between inferred expressions being
passed as an argument to fn calls with fewer than expected arguments. To
avoid the ICE, I'm changing indexing operations with `.get(idx)`, but
the underlying logic still needs to be audited as it was written with
the assumption that `final_arg_types` and `provided_args` have the right
length.

Address 96638.
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions