mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-25 00:04:11 +00:00
Compile fixes
This commit is contained in:
parent
5ede5aaa73
commit
954edc9fb2
@ -495,10 +495,8 @@ fn check_mod_attrs(tcx: TyCtxt<'_>, module_def_id: LocalDefId) {
|
||||
tcx,
|
||||
sym: Symbols::get(),
|
||||
};
|
||||
tcx.hir().visit_item_likes_in_module(
|
||||
module_def_id,
|
||||
&mut check_spirv_attr_visitor.as_deep_visitor(),
|
||||
);
|
||||
tcx.hir()
|
||||
.deep_visit_item_likes_in_module(module_def_id, check_spirv_attr_visitor);
|
||||
if module_def_id.is_top_level_module() {
|
||||
check_spirv_attr_visitor.check_spirv_attributes(CRATE_HIR_ID, Target::Mod);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user