mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-29 20:15:27 +00:00
- typeck/expr: don't suggest adding fields in struct literals with inaccessible fields - typeck/pat: suggest ignoring inaccessible fields in struct patterns
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.