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

Method visit_arm

crates/rustc_codegen_spirv/src/attr.rs:439–442  ·  view source on GitHub ↗
(&mut self, arm: &'tcx hir::Arm<'tcx>)

Source from the content-addressed store, hash-verified

437 }
438
439 fn visit_arm(&mut self, arm: &'tcx hir::Arm<'tcx>) {
440 self.check_spirv_attributes(arm.hir_id, Target::Arm);
441 intravisit::walk_arm(self, arm);
442 }
443
444 fn visit_foreign_item(&mut self, f_item: &'tcx hir::ForeignItem<'tcx>) {
445 let target = Target::from_foreign_item(f_item);

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected