diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-02-24 11:25:18 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-24 11:25:18 +0000 |
| commit | 6b55d2f10aea2f38be83693b55e8dcf771335233 (patch) | |
| tree | 32ef865737cb84a7320f67798efbb471aaf2f2ec /src/test/codegen/src-hash-algorithm | |
| parent | 6fa525fb80cb0487f9bb51240d8228d92b0c40da (diff) | |
| parent | 41b6b372a789d738ec38ef6850e924d0514266e6 (diff) | |
| download | rust-6b55d2f10aea2f38be83693b55e8dcf771335233.tar.gz rust-6b55d2f10aea2f38be83693b55e8dcf771335233.zip | |
Merge #11540
11540: fix: Resolve private fields in type inference r=flodiebold a=Veykril Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10253#issuecomment-920962927 (the same issue probably exists for method calls, but I think fixing that might be trickier) Visibility checks were introduced in https://github.com/rust-analyzer/rust-analyzer/issues/7841 for autoderef to work properly, so now we just record the first field we find unconditionally, and then overwrite it if autoderef manages to find another field in a later cycle. Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
