diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-06-20 16:10:35 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-20 16:10:35 +0100 |
commit | c8557b91a3ccfea5c83260bc35a59e6839784281 (patch) | |
tree | 995472970b95ec9da7980588fb85372764afca04 /crates/ra_ide/src/ssr.rs | |
parent | 0f7961d5570f17d6c2098ab11d2a3bcbbfb84ff6 (diff) | |
parent | 1629fb770e21c7e7fd4c478f5074590d5c9e6829 (diff) |
Merge #4958
4958: Infer FnSig via Fn traits r=flodiebold a=adamrk
Addresses https://github.com/rust-analyzer/rust-analyzer/issues/4481.
When inferring types check if the callee implements one of the builtin `Fn` traits. Also autoderef the callee before trying to figure out it's `FnSig`.
Co-authored-by: adamrk <[email protected]>
Diffstat (limited to 'crates/ra_ide/src/ssr.rs')
0 files changed, 0 insertions, 0 deletions