-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Figure out a better way to deprecate old feature names #1636
Comments
What is the status of this with rust-lang/rust#62042 fixing rust-lang/rust#49912 |
@npapapietro Yes those fix would help here. We are happy to receive a PR that fixes this. Based on the linked rustc issues it should be possible to just add a conditional |
I'll try and take this up. As I'm just diving into diesel I'd like some more info as this will be a 1st time pr. Let me see if if I understand this issue correctly
|
We would like to deprecate the
Adding the deprecated attribute inside the expanded |
Closed by #2968 |
The current way we're deprecating the various x-column-tables feature spams builds with an unreasonable number of warnings, and causes our crate to fail to compile if we have
#![deny(warnings)]
. Ideally we show the warning in the actual invocation oftable!
, but rust-lang/rust#49912 prevents us from just doing the obvious thing there.We should find a better solution though, that doesn't spam logs, and in particular, generates no warnings from inside Diesel itself when compiled with these features turned on. The solution of "remember to remove
#[deny(warnings)]
when we release isn't going to work long term.The text was updated successfully, but these errors were encountered: