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
The issue is the way the config proc macro handles the clap field attributes. Basically the config proc macro need to run first.
I don't see an easy fix for this, given the #[config] macro fundamentally reimplements the type, rather than just deriving a trait implementation. Perhaps it can be documented or better error messages can be given though.
Thank you
The text was updated successfully, but these errors were encountered:
This code doesn't compile:
But this does:
The issue is the way the
config
proc macro handles theclap
field attributes. Basically theconfig
proc macro need to run first.I don't see an easy fix for this, given the #[config] macro fundamentally reimplements the type, rather than just deriving a trait implementation. Perhaps it can be documented or better error messages can be given though.
Thank you
The text was updated successfully, but these errors were encountered: