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
@jplatte.or looks reasonable to me; thanks! I'll inquire about that on bitflags.
In the meantime, if there's already an issue tracking const handling in traits, feel free to close this in favor of such an issue. Might be worth noting this as a use case in the skill-tree graph, though.
I'd like to be able to use bitflags as the value of a
const
:This produces an error saying that
calls in constants are limited to constant functions, tuple structs and tuple variants
.What would be the blockers for making bitflags operations work as the value of a
const
?The text was updated successfully, but these errors were encountered: