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

Method visit_variant

crates/rustc_codegen_spirv/src/attr.rs:474–477  ·  view source on GitHub ↗
(&mut self, variant: &'tcx hir::Variant<'tcx>)

Source from the content-addressed store, hash-verified

472 }
473
474 fn visit_variant(&mut self, variant: &'tcx hir::Variant<'tcx>) {
475 self.check_spirv_attributes(variant.hir_id, Target::Variant);
476 intravisit::walk_variant(self, variant);
477 }
478
479 fn visit_param(&mut self, param: &'tcx hir::Param<'tcx>) {
480 self.check_spirv_attributes(param.hir_id, Target::Param);

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected