1use bevy_ecs::prelude::*; 2 3#[derive(Resource)] 4//~v ERROR: Lifetimes must be 'static 5struct A<'a> { 6 foo: &'a str, 7} 8 9#[derive(Resource)] 10struct B<'a: 'static> { 11 foo: &'a str, 12} 13 14