(&mut self, impl_item: &'tcx hir::ImplItem<'tcx>)
| 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); |
| 452 | self.check_spirv_attributes(impl_item.hir_id(), target); |
| 453 | intravisit::walk_impl_item(self, impl_item); |
| 454 | } |
| 455 | |
| 456 | fn visit_stmt(&mut self, stmt: &'tcx hir::Stmt<'tcx>) { |
| 457 | // When checking statements ignore expressions, they will be checked later. |
nothing calls this directly
no test coverage detected