diff --git a/crates/bevy_core_pipeline/src/deferred/copy_lighting_id.rs b/crates/bevy_core_pipeline/src/deferred/copy_lighting_id.rs index cb68e472035cb..5609896045ec8 100644 --- a/crates/bevy_core_pipeline/src/deferred/copy_lighting_id.rs +++ b/crates/bevy_core_pipeline/src/deferred/copy_lighting_id.rs @@ -60,7 +60,7 @@ impl Plugin for CopyDeferredLightingIdPlugin { #[derive(Default)] pub struct CopyDeferredLightingIdNode; impl CopyDeferredLightingIdNode { - pub const NAME: &str = "copy_deferred_lighting_id"; + pub const NAME: &'static str = "copy_deferred_lighting_id"; } impl ViewNode for CopyDeferredLightingIdNode {