-
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
Regression: this #[deprecated]
annotation has no effect
#79304
Comments
If |
This should be a warning, not an error I think. |
@petrochenkov So the attribute does have no effect. |
Should this be closed as intended behavior then? |
443: Remove useless deprecation annotation r=kpcyrd a=kpcyrd This should fix our broken CI. The change in rustc was caused by rust-lang/rust#78626, further discussion in rust-lang/rust#79304. Co-authored-by: kpcyrd <git@rxv.cc>
443: Remove useless deprecation annotation r=kpp a=kpcyrd This should fix our broken CI. The change in rustc was caused by rust-lang/rust#78626, further discussion in rust-lang/rust#79304. Co-authored-by: kpcyrd <git@rxv.cc>
Since this is silenced for dependencies and we've already fixed this on our master branch this issue is resolved for me (thanks for the help!). I'm not closing it myself in case you still want to discuss this until the 1.49.0 release, but feel free to do so. |
@kpcyrd Thanks for the report and the update. As mentioned above, this is "working as intended" in the sense that this was expected outcome of #78626. That does not mean it's necessarily the best behaviour. Maybe a warning would make more sense here, depending on how much trouble this change causes.
Okay, closing this for now then. Please re-open the issue or leave a comment if you (anybody) think something needs to be done here. |
Code
I tried this code:
This code currently compiles on stable rust, but stops working on nightly and beta. The example code is a reduced case from sodiumoxide which is currently broken on nightly and beta.
Version it worked on
It most recently worked on: 1.48.0
Version with regression
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: