We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
read_only_field_visibility
1 parent 7d8bd89 commit 7b76aa3Copy full SHA for 7b76aa3
crates/bevy_ecs/src/query/fetch.rs
@@ -1601,14 +1601,14 @@ mod tests {
1601
1602
#[derive(WorldQueryData)]
1603
#[world_query_data(mutable)]
1604
- pub struct Q {
+ pub struct D {
1605
pub a: &'static mut A,
1606
}
1607
1608
1609
let _ = private::QReadOnly { a: &A };
1610
1611
- fn my_system(query: Query<private::Q>) {
+ fn my_system(query: Query<private::D>) {
1612
for q in &query {
1613
let _ = &q.a;
1614
0 commit comments