rust/compiler
Tyler Mandry 9f8a7827a1
Rollup merge of #76524 - davidtwco:issue-76077-inaccessible-private-fields, r=estebank
typeck: don't suggest inaccessible private fields

Fixes #76077.

This PR adjusts the missing field diagnostic logic in typeck so that when none of the missing fields in a struct expr are accessible then the error is less confusing.

r? @estebank
2020-09-10 12:20:02 -07:00
..
2020-09-09 17:32:23 +10:00
2020-09-04 18:28:20 +02:00
2020-09-04 17:47:51 +02:00
2020-09-09 23:05:43 +03:00
2020-09-04 17:47:51 +02:00
2020-09-04 17:47:51 +02:00
2020-09-09 16:32:55 +02:00
2020-09-04 19:17:57 -04:00
2020-09-04 17:47:51 +02:00