mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-18 00:25:52 +00:00
Attributes on pattern struct fields were not being checked for validity. This adds the fields as HIR nodes so that the `CheckAttrVisitor` can visit those nodes to check their attributes.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.