bors[bot] 6b55d2f10a
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>
2022-02-24 11:25:18 +00:00
..
2022-02-24 15:20:12 +05:30
2022-02-23 15:55:06 +01:00
2022-02-22 18:46:12 +00:00
2022-02-22 10:20:45 +01:00
2022-02-23 16:29:33 +01:00
2022-02-21 08:34:35 +02:00
2022-02-21 16:56:37 +00:00