message: Use visibility of `field` in `SalsaField` in `#[salsa::interned]` getters
diff: @@ -90,10 +90,11 @@ impl InternedStruct {
  .map(|field| {
  let field_name = field.name();
  let field_ty = field.ty();
  + let field_vis = field.vis();
  let field_get_name = field.get_name();
  if field.is_clone_field() {
  parse_quote! {
  - #vis fn #field_get_name(self, db: &#db_dyn_ty) -> #field_ty {
  + #field_vis fn #field_get_name(self, db: &#db_dyn_ty) -> #field_ty {
  let (jar, runtime) = <_ as salsa::storage::HasJar<#jar_ty>>::jar(db);
  let ingredients = <#jar_ty as salsa::storage::HasIngredientsFor< #id_ident >>::ingredient(jar);
  std::clone::Clone::clone(&ingredients.data(runtime, self).#field_name)
  @@ -101,7 +102,7 @@ impl InternedStruct {
  }
  } else {
  parse_quote! {
  - #vis fn #field_get_name<'db>(self, db: &'db #db_dyn_ty) -> &'db #field_ty {
  + #field_vis fn #field_get_name<'db>(self, db: &'db #db_dyn_ty) -> &'db #field_ty {
  let (jar, runtime) = <_ as salsa::storage::HasJar<#jar_ty>>::jar(db);
  let ingredients = <#jar_ty as salsa::storage::HasIngredientsFor< #id_ident >>::ingredient(jar);
  &ingredients.data(runtime, self).#field_name
  