Skip to content
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

Merged
merged 7 commits into from
Feb 14, 2019

Conversation

varkor
Copy link
Member

@varkor varkor commented Feb 5, 2019

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 5, 2019
@varkor varkor changed the title Deprecated future external Ignore future deprecations in #[deprecated] Feb 5, 2019
@rust-highfive

This comment has been minimized.

@GuillaumeGomez
Copy link
Member

Looks good to me. Please add a test for rustdoc as well and we're good to go!

@rust-highfive

This comment has been minimized.

@varkor
Copy link
Member Author

varkor commented Feb 6, 2019

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.

@bors
Copy link
Contributor

bors commented Feb 7, 2019

☔ The latest upstream changes (presumably #58266) made this pull request unmergeable. Please resolve the merge conflicts.

@GuillaumeGomez
Copy link
Member

Thanks!

@bors: r+

@bors
Copy link
Contributor

bors commented Feb 8, 2019

📌 Commit 18ca33bde20b17352eb34cbde202d65daec30b5d has been approved by GuillaumeGomez

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 8, 2019
@varkor varkor force-pushed the deprecated-future-external branch 2 times, most recently from a2666e8 to 241aad2 Compare February 11, 2019 11:32
@varkor
Copy link
Member Author

varkor commented Feb 11, 2019

Added a test specifically for rustc_deprecated, as there didn't appear to be one already.

@bors r=GuillaumeGomez

@bors
Copy link
Contributor

bors commented Feb 11, 2019

📌 Commit 241aad22f5c81c4bb57685d8f528781b1e1951a0 has been approved by GuillaumeGomez

@rust-highfive

This comment has been minimized.

@varkor
Copy link
Member Author

varkor commented Feb 11, 2019

@bors r=GuillaumeGomez

@bors
Copy link
Contributor

bors commented Feb 11, 2019

📌 Commit b5fa870 has been approved by GuillaumeGomez

Centril added a commit to Centril/rust that referenced this pull request Feb 13, 2019
…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
Centril added a commit to Centril/rust that referenced this pull request Feb 13, 2019
…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
Centril added a commit to Centril/rust that referenced this pull request Feb 13, 2019
…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
bors added a commit that referenced this pull request Feb 13, 2019
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
@bors bors merged commit b5fa870 into rust-lang:master Feb 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants