typeck/expr: inaccessible private fields
This commit adjusts the missing field diagnostic logic for struct
expressions in typeck to improve the diagnostic when the missing
fields are inaccessible.
Signed-off-by: NDavid Wood <david@davidtw.co>
Showing
src/test/ui/issues/issue-76077.rs
0 → 100644
想要评论请 注册 或 登录