File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
crates/bevy_ecs/macros/src Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -247,8 +247,6 @@ pub fn derive_query_data_impl(input: TokenStream) -> TokenStream {
247247 }
248248 }
249249
250-
251-
252250 fn provide_extra_access(
253251 state: & mut Self :: State ,
254252 access: & mut #path:: query:: Access ,
@@ -281,7 +279,7 @@ pub fn derive_query_data_impl(input: TokenStream) -> TokenStream {
281279 for #read_only_struct_name #user_ty_generics #user_where_clauses
282280 // Make these HRTBs with an unused lifetime parameter to allow trivial constraints
283281 // See https://github.com/rust-lang/rust/issues/48214
284- where #( for <' __a> #field_types: #path:: query:: ReborrowQueryData , ) * {
282+ where #( for <' __a> #field_types: #path:: query:: QueryData < ReadOnly : #path :: query :: ReborrowQueryData > , ) * {
285283 fn reborrow<' wlong: ' short, ' slong: ' short, ' short>(
286284 item: & ' short mut Self :: Item <' wlong, ' slong>,
287285 ) -> Self :: Item <' short, ' short> {
You can’t perform that action at this time.
0 commit comments