-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Derives on deprecated items generate deprecation warnings #58822
Comments
Hmm; technically generating warnings seems like correct but annoying behavior (which we don't have to fix but probably should...). Putting |
This regression also breaks existing code with |
|
Just hit this in servo...
Caused by deprecating a field in a struct. |
Just hit this in Mundane too. We
|
triage: P-high |
I'm currently running a bisection with cargo-bisect-rustc. |
Regression is tracked to c84e797, which is #58098, cc @oli-obk -- this PR is titled " Require a list of features in |
speculatively assigning to @oli-obk based on @nikomatsakis 's bisection. |
This is definitely caused by this change. We used to just not emit deprecation warnings inside |
Hide deprecation warnings inside derive expansions Fixes #58822
The following code generates a warning on nightly and beta but not on stable:
The text was updated successfully, but these errors were encountered: