(&mut self, trait_item: &'tcx hir::TraitItem<'tcx>)
| 426 | } |
| 427 | |
| 428 | fn visit_trait_item(&mut self, trait_item: &'tcx hir::TraitItem<'tcx>) { |
| 429 | let target = Target::from_trait_item(trait_item); |
| 430 | self.check_spirv_attributes(trait_item.hir_id(), target); |
| 431 | intravisit::walk_trait_item(self, trait_item); |
| 432 | } |
| 433 | |
| 434 | fn visit_field_def(&mut self, field: &'tcx hir::FieldDef<'tcx>) { |
| 435 | self.check_spirv_attributes(field.hir_id, Target::Field); |
nothing calls this directly
no test coverage detected