-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Remove #[rustc_deprecated]
#95960
Remove #[rustc_deprecated]
#95960
Conversation
Thank you for submitting a new PR for the library teams! If this PR contains a stabilization of a library feature that has not already completed FCP in its tracking issue, introduces new or changes existing unstable library APIs, or changes our public documentation in ways that create new stability guarantees then please comment with |
(rust-highfive has picked a reviewer for you, use r? to override) |
This comment was marked as resolved.
This comment was marked as resolved.
(that's the failure I was expecting) |
This comment has been minimized.
This comment has been minimized.
0e02d43
to
e2df4ba
Compare
This comment has been minimized.
This comment has been minimized.
fc4e862
to
f81e20e
Compare
CI is green, but I'd still like to make a few more changes before this should be merged. @rustbot author |
f81e20e
to
7bc0b27
Compare
This comment has been minimized.
This comment has been minimized.
7bc0b27
to
b95659d
Compare
This comment has been minimized.
This comment has been minimized.
b95659d
to
d06891c
Compare
This comment has been minimized.
This comment has been minimized.
d06891c
to
f2f52f6
Compare
This comment has been minimized.
This comment has been minimized.
53108ab
to
2ad699d
Compare
With the change to built-in duplicate checking, E0550 is no longer emitted.
2ad699d
to
dac487a
Compare
After playing whack-a-mole with tests and running into a spurious error, CI is once again green. I'm happy with where this is now. Ready for review @joshtriplett! @rustbot ready |
r? rust-lang/compiler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
@bors r+ |
📌 Commit dac487a has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (8a2fe75): comparison url. Summary: This benchmark run did not return any relevant results. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
Remove handling of `#[rustc_deprecated]` This should be merged along with rust-lang/rust#95960. Because the attribute still exists in rustc, I've left the definition here. With that said, any use of it is an error, so I've removed any handling of `#[rustc_deprecated]`.
…compiler-errors Remove `rustc_deprecated` diagnostics Follow-up on rust-lang#95960. The diagnostics will remain until the next bootstrap, at which point people will have had six weeks to adjust. `@rustbot` label +A-diagnostics r? `@compiler-errors`
…compiler-errors Remove `rustc_deprecated` diagnostics Follow-up on rust-lang#95960. The diagnostics will remain until the next bootstrap, at which point people will have had six weeks to adjust. ``@rustbot`` label +A-diagnostics r? ``@compiler-errors``
This removes
#[rustc_deprecated]
and introduces diagnostics to help users to the right direction (that being#[deprecated]
). All uses of#[rustc_deprecated]
have been converted. CI is expected to fail initially; this requires #95958, which includes convertingstdarch
.I plan on following up in a short while (maybe a bootstrap cycle?) removing the diagnostics, as they're only intended to be short-term.