Skip to content

Commit 43f83d5

Browse files
authored
Remove duplicate #[automatically_derived] in ECS macro (#11388)
# Objective It's already provided by `item_attrs`, so it can be removed. # Solution Remove the extra `#[automatically_derived]`.
1 parent 9a8349a commit 43f83d5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/bevy_ecs/macros/src/world_query.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ pub(crate) fn item_struct(
3737
Fields::Unnamed(_) => quote! {
3838
#derive_macro_call
3939
#item_attrs
40-
#[automatically_derived]
4140
#visibility struct #item_struct_name #user_impl_generics_with_world #user_where_clauses_with_world(
4241
#( #field_visibilities <#field_types as #path::query::WorldQuery>::Item<'__w>, )*
4342
);

0 commit comments

Comments
 (0)