-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Ignore future deprecations in #[deprecated] #58202
Conversation
This comment has been minimized.
This comment has been minimized.
3ea9d40
to
d8bf945
Compare
Looks good to me. Please add a test for rustdoc as well and we're good to go! |
This comment has been minimized.
This comment has been minimized.
I've added a new test and updated the old one to ensure that we're checking both places the attribute can affect the docs. |
☔ The latest upstream changes (presumably #58266) made this pull request unmergeable. Please resolve the merge conflicts. |
e5089a7
to
18ca33b
Compare
Thanks! @bors: r+ |
📌 Commit 18ca33bde20b17352eb34cbde202d65daec30b5d has been approved by |
a2666e8
to
241aad2
Compare
Added a test specifically for @bors r=GuillaumeGomez |
📌 Commit 241aad22f5c81c4bb57685d8f528781b1e1951a0 has been approved by |
241aad2
to
afad118
Compare
This comment has been minimized.
This comment has been minimized.
afad118
to
b5fa870
Compare
@bors r=GuillaumeGomez |
📌 Commit b5fa870 has been approved by |
…r=GuillaumeGomez Ignore future deprecations in #[deprecated] The future deprecation warnings should only apply to `#[rustc_deprecated]` as they take into account rustc's version. Fixes rust-lang#57952. I've also slightly modified rustdoc's display of future deprecation notices to make it more consistent, so I'm assigning a rustdoc team member for review to make sure this is okay. r? @GuillaumeGomez
…r=GuillaumeGomez Ignore future deprecations in #[deprecated] The future deprecation warnings should only apply to `#[rustc_deprecated]` as they take into account rustc's version. Fixes rust-lang#57952. I've also slightly modified rustdoc's display of future deprecation notices to make it more consistent, so I'm assigning a rustdoc team member for review to make sure this is okay. r? @GuillaumeGomez
…r=GuillaumeGomez Ignore future deprecations in #[deprecated] The future deprecation warnings should only apply to `#[rustc_deprecated]` as they take into account rustc's version. Fixes rust-lang#57952. I've also slightly modified rustdoc's display of future deprecation notices to make it more consistent, so I'm assigning a rustdoc team member for review to make sure this is okay. r? @GuillaumeGomez
Rollup of 10 pull requests Successful merges: - #58110 (libpanic_unwind => 2018) - #58167 (HirId-ify hir::BodyId) - #58202 (Ignore future deprecations in #[deprecated]) - #58272 (Cut down on number formating code size) - #58276 (Improve the error messages for missing stability attributes) - #58354 (Fix ICE and invalid filenames in MIR printing code) - #58381 (Only suggest imports if not imported.) - #58386 (Fix #54242) - #58400 (Fix rustc_driver swallowing errors when compilation is stopped) - #58420 (target/uefi: clarify documentation) Failed merges: r? @ghost
The future deprecation warnings should only apply to
#[rustc_deprecated]
as they take into account rustc's version. Fixes #57952.I've also slightly modified rustdoc's display of future deprecation notices to make it more consistent, so I'm assigning a rustdoc team member for review to make sure this is okay.
r? @GuillaumeGomez