diff --git a/crates/bevy_ecs/src/system/system_param.rs b/crates/bevy_ecs/src/system/system_param.rs index 901fdf0853..666da7ee25 100644 --- a/crates/bevy_ecs/src/system/system_param.rs +++ b/crates/bevy_ecs/src/system/system_param.rs @@ -1011,7 +1011,7 @@ mod sealed { #[allow(non_snake_case, reason = "`all_tuples!()` generates non-snake-case variable names.")] #[allow(unused_variables, reason = "`world` is unused when implemented for the unit type `()`.")] fn insert_into_world( - self, + self, world: &mut World, #[cfg(feature = "track_change_detection")] caller: &'static Location, ){