about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-01-04 02:19:44 +0100
committerGitHub <noreply@github.com>2020-01-04 02:19:44 +0100
commita436293994b7ff8c15f515faf1aa42623769cf5d (patch)
treeb27f43db717b9ef14634dac8aa26e44ef516c8c6 /src/rustllvm/RustWrapper.cpp
parente845e691c988303ea54cb9de9639a8577b5a9d6b (diff)
parent7b91ef8837cb5e926418aeb4a675313ba928c877 (diff)
downloadrust-a436293994b7ff8c15f515faf1aa42623769cf5d.tar.gz
rust-a436293994b7ff8c15f515faf1aa42623769cf5d.zip
Rollup merge of #66913 - VirrageS:help-self, r=varkor,Centril
Suggest calling method when first argument is `self`

Closes: #66782

I've explored different approaches for this MR but I think the most straightforward is the best one.

I've tried to find out if the methods for given type exist (to maybe have a better suggestion), but we don't collect them anywhere and collecting them is quite problematic. Moreover, collecting all the methods would require rewriting big part of the code and also could potentially include performance degradation, which I don't think is necessary for this simple case.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions