Skip to content

Commit

Permalink
Propagate visibility to CubeLaunch-generated structures. (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
booti386 authored Aug 23, 2024
1 parent e158a93 commit 4572305
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/cubecl-macros/src/codegen_type/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ impl TypeCodegen {
}

let generics = self.generics.all_definitions();
let vis = &self.vis;

quote! {
struct #name #generics {
#vis struct #name #generics {
#fields
}
}
Expand Down

0 comments on commit 4572305

Please sign in to comment.