-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved compiler errors when feature flags are missing #123
base: main
Are you sure you want to change the base?
Improved compiler errors when feature flags are missing #123
Conversation
There's also the question of how to test this. It doesn't seem like |
I also have this problem in actix-web-validation and I have not found a nice solution 😅 I think one way would be to use |
…er-feature-flag-errors-messages
This PR adds improved compiler errors when features flags are not enabled.
For example:
Given this following struct,
without the
email
feature flag enabled, the following error message is output.See original issue here #9