You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Objective
- Fixesbevyengine#5817.
- Removes std::vec::Vec ambiguities in derive_bundle macro
## Solution
Prepend :: to standard library full Vec qualified type name (::std::vec::Vec)
ItsDoot
pushed a commit
to ItsDoot/bevy
that referenced
this issue
Feb 1, 2023
# Objective
- Fixesbevyengine#5817.
- Removes std::vec::Vec ambiguities in derive_bundle macro
## Solution
Prepend :: to standard library full Vec qualified type name (::std::vec::Vec)
Bevy version
0.8
What you did
What went wrong
Compilation fails with:
because this does not use the fully qualified type name
std::vec::Vec
and proc-macros are not hygienic.Additional information
Yes, egui has an enum-variant called Vec and my IDE sometimes randomly tries to be helpful and imports it for me. 😄
impl_param_set
also uses lots of bevy-specific types without fully qualified names, but I'm not sure if that's a problem.The text was updated successfully, but these errors were encountered: