(&mut self, f_item: &'tcx hir::ForeignItem<'tcx>)
| 442 | } |
| 443 | |
| 444 | fn visit_foreign_item(&mut self, f_item: &'tcx hir::ForeignItem<'tcx>) { |
| 445 | let target = Target::from_foreign_item(f_item); |
| 446 | self.check_spirv_attributes(f_item.hir_id(), target); |
| 447 | intravisit::walk_foreign_item(self, f_item); |
| 448 | } |
| 449 | |
| 450 | fn visit_impl_item(&mut self, impl_item: &'tcx hir::ImplItem<'tcx>) { |
| 451 | let target = target_from_impl_item(self.tcx, impl_item); |
nothing calls this directly
no test coverage detected