mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Fix missing explicit lifetime name for copy_deferred_lighting_id name (#10128)
# Objective On nightly there is a warning on a missing lifetime: ```bash warning: `&` without an explicit lifetime name cannot be used here ``` The details are in https://github.com/rust-lang/rust/issues/115010, but the bottom line is that in associated constants elided lifetimes are no longer allowed to be implicitly defined. This fixes the only place where it is missing. ## Solution - Add explicit `'static` lifetime
This commit is contained in:
parent
b9ddb37d5b
commit
56eb362327
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue