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 ,
@@ -275,7 +273,7 @@ pub fn derive_query_data_impl(input: TokenStream) -> TokenStream {
275273 for #read_only_struct_name #user_ty_generics #user_where_clauses
276274 // Make these HRTBs with an unused lifetime parameter to allow trivial constraints
277275 // See https://github.com/rust-lang/rust/issues/48214
278- where #( for <' __a> #field_types: #path:: query:: ReborrowQueryData , ) * {
276+ where #( for <' __a> #field_types: #path:: query:: QueryData < ReadOnly : #path :: query :: ReborrowQueryData > , ) * {
279277 fn reborrow<' wlong: ' short, ' slong: ' short, ' short>(
280278 item: & ' short mut Self :: Item <' wlong, ' slong>,
281279 ) -> Self :: Item <' short, ' short> {
You can’t perform that action at this time.
0 commit comments