diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-29 22:01:36 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-29 22:01:36 +0000 |
commit | ad4e108c39696b368705d9238f44b10fced91a58 (patch) | |
tree | 0597ebf09ac6c3216477c4993a8f16686f0ca452 /crates/ra_ide | |
parent | 5e78036e6c8752fda350818afdd411ab25f405ce (diff) | |
parent | 31171eed5eeab217280237e63ffe6adda62baf96 (diff) |
Merge #3380
3380: Unsizing in method resolution & autoderef for indexing r=matklad a=flodiebold
- do autoderef for indexing
- do array unsizing (`[T; N]` -> `[T]`) in both method resolution and indexing. It turns out array unsizing is actually the only unsizing coercion that rustc does for method receivers, so this is simpler than I expected.
Sadly, this doesn't fix indexing slices/arrays yet, there are still some trait solving problems...
Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/ra_ide')
0 files changed, 0 insertions, 0 deletions