Skip to content

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.

@varkor varkor force-pushed the deprecated-future-external branch from 3ea9d40 to d8bf945 Compare February 6, 2019 08:26
@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
Collaborator

bors commented Feb 7, 2019

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

@varkor varkor force-pushed the deprecated-future-external branch from e5089a7 to 18ca33b Compare February 7, 2019 18:03
@GuillaumeGomez
Copy link
Member

Thanks!

@bors: r+

@bors
Copy link
Collaborator

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
Collaborator

bors commented Feb 11, 2019

📌 Commit 241aad22f5c81c4bb57685d8f528781b1e1951a0 has been approved by GuillaumeGomez

@varkor varkor force-pushed the deprecated-future-external branch from 241aad2 to afad118 Compare February 11, 2019 11:37
@rust-highfive

This comment has been minimized.

@varkor varkor force-pushed the deprecated-future-external branch from afad118 to b5fa870 Compare February 11, 2019 13:18
@varkor
Copy link
Member Author

varkor commented Feb 11, 2019

@bors r=GuillaumeGomez

@bors
Copy link
Collaborator

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.

5 participants