Bevy version
Since c43295a
The Problem
I was trying to update bevy_mod_raycast to bevy main but ran into a problem with this
https://github.com/bevyengine/bevy/pull/4957/files#diff-b131f1941aa2edc166d44e3411ad3e04c125bd541288357846e6c2e018b46b80R133-R142
change to the SystemLabel proc-macro.
https://github.com/aevyrie/bevy_mod_raycast/blob/0a5d1e3334285eaf85e97adc28b14cbb50ab1b48/src/lib.rs#L82-L89
needs a variant with a data field to store the PhantomData but this change makes that impossible.
Possible solutions
- Make the
SystemLabel proc-macro detect if the variant is unreachable by insuring that it has a field with type ::std::convert::Infallible.
- Add a
ignore attribute to the SystemLabel proc-macro.
Bevy version
Since c43295a
The Problem
I was trying to update
bevy_mod_raycastto bevy main but ran into a problem with thishttps://github.com/bevyengine/bevy/pull/4957/files#diff-b131f1941aa2edc166d44e3411ad3e04c125bd541288357846e6c2e018b46b80R133-R142
change to the
SystemLabelproc-macro.https://github.com/aevyrie/bevy_mod_raycast/blob/0a5d1e3334285eaf85e97adc28b14cbb50ab1b48/src/lib.rs#L82-L89
needs a variant with a data field to store the
PhantomDatabut this change makes that impossible.Possible solutions
SystemLabelproc-macro detect if the variant is unreachable by insuring that it has a field with type::std::convert::Infallible.ignoreattribute to theSystemLabelproc-macro.