Check attributes on struct expression fields.
Attributes on struct expression fields were not being checked for validity. This adds the fields as HIR nodes so that `CheckAttrVisitor` can visit those nodes to check their attributes.
This commit is contained in:
parent
1b464c73b7
commit
b651c1cebe
10 changed files with 47 additions and 18 deletions
|
@ -257,6 +257,7 @@ impl<'a, 'tcx> DropRangeVisitor<'a, 'tcx> {
|
|||
| hir::Node::TraitRef(..)
|
||||
| hir::Node::Pat(..)
|
||||
| hir::Node::PatField(..)
|
||||
| hir::Node::ExprField(..)
|
||||
| hir::Node::Arm(..)
|
||||
| hir::Node::Local(..)
|
||||
| hir::Node::Ctor(..)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue