-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Revert #[warn(unstable)] by default #21084
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
Comments
We had some discussion about this at the core team meeting, and have a plan for moving forward here. You're totally correct that the current situation isn't as useful as it could be. |
This is actually covered by #20445 as the plan is to remove The warnings today can generally be categorized into "expected instability" and "unexpected instability". We expect warnings on usage of the I think regardless though I'm going to close this in favor of #20445 as it will largely become obsolete after that. |
Hopefully #20445 is fixed soon :) (I realize that’s easy to say when I’m not doing the work.) If you expect it to be, let’s say, weeks rather than days, would you consider reverting |
I believe @brson is implementing the new feature infrastructure, so he may be able to give you a better estimate on the time span. |
One of the changes introduced by f3b67af is:
I think this should be reverted for now. Here is why:
A warning is only useful when it is actionable. “You should not do this” is ideally accompanied by “do that instead”. Maintainers fix their code and the warning goes away. But this is not the case of most unstable warnings, there is not yet a stable equivalent of the functionality. Therefore, in order to find the few actionable warnings or just not be drowned in the sheer amount of output, maintainers are lead to add
#![allow(unstable)]
to their crates. This is not great, because they (or at least I) are likely to forget to remove it when unstable warnings become useful.CC @alexcrichton
The text was updated successfully, but these errors were encountered: