fix attribute validation on associated items in traits
This commit is contained in:
@@ -1519,6 +1519,7 @@ impl<'a> Visitor<'a> for AstValidator<'a> {
|
||||
generics,
|
||||
body.as_deref(),
|
||||
);
|
||||
walk_list!(self, visit_attribute, &item.attrs);
|
||||
self.visit_fn(kind, item.span, item.id);
|
||||
}
|
||||
AssocItemKind::Type(_) => {
|
||||
|
||||
Reference in New Issue
Block a user