MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / visit_impl_item

Method visit_impl_item

crates/rustc_codegen_spirv/src/attr.rs:450–454  ·  view source on GitHub ↗
(&mut self, impl_item: &'tcx hir::ImplItem<'tcx>)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 2

target_from_impl_itemFunction · 0.85

Tested by

no test coverage detected