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

Method visit_field_def

crates/rustc_codegen_spirv/src/attr.rs:434–437  ·  view source on GitHub ↗
(&mut self, field: &'tcx hir::FieldDef<'tcx>)

Source from the content-addressed store, hash-verified

432 }
433
434 fn visit_field_def(&mut self, field: &'tcx hir::FieldDef<'tcx>) {
435 self.check_spirv_attributes(field.hir_id, Target::Field);
436 intravisit::walk_field_def(self, field);
437 }
438
439 fn visit_arm(&mut self, arm: &'tcx hir::Arm<'tcx>) {
440 self.check_spirv_attributes(arm.hir_id, Target::Arm);

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected