mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-22 06:45:13 +00:00
Compile fixes
This commit is contained in:
parent
a90668e02e
commit
2dd88c1f13
@ -472,14 +472,9 @@ impl<'tcx> Visitor<'tcx> for CheckSpirvAttrVisitor<'tcx> {
|
|||||||
intravisit::walk_expr(self, expr);
|
intravisit::walk_expr(self, expr);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn visit_variant(
|
fn visit_variant(&mut self, variant: &'tcx hir::Variant<'tcx>) {
|
||||||
&mut self,
|
|
||||||
variant: &'tcx hir::Variant<'tcx>,
|
|
||||||
generics: &'tcx hir::Generics<'tcx>,
|
|
||||||
item_id: HirId,
|
|
||||||
) {
|
|
||||||
self.check_spirv_attributes(variant.id, Target::Variant);
|
self.check_spirv_attributes(variant.id, Target::Variant);
|
||||||
intravisit::walk_variant(self, variant, generics, item_id);
|
intravisit::walk_variant(self, variant);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn visit_param(&mut self, param: &'tcx hir::Param<'tcx>) {
|
fn visit_param(&mut self, param: &'tcx hir::Param<'tcx>) {
|
||||||
|
Loading…
Reference in New Issue
Block a user