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

Method visit_param

crates/rustc_codegen_spirv/src/attr.rs:479–483  ·  view source on GitHub ↗
(&mut self, param: &'tcx hir::Param<'tcx>)

Source from the content-addressed store, hash-verified

477 }
478
479 fn visit_param(&mut self, param: &'tcx hir::Param<'tcx>) {
480 self.check_spirv_attributes(param.hir_id, Target::Param);
481
482 intravisit::walk_param(self, param);
483 }
484}
485
486// FIXME(eddyb) DRY this somehow and make it reusable from somewhere in `rustc`.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected