Skip to content

Deprecated proc_macro doesn't trigger warning on build library - #65666

Merged
bors merged 3 commits into
rust-lang:masterfrom
XiangQingW:proc_macro
Oct 25, 2019
Merged

Deprecated proc_macro doesn't trigger warning on build library#65666
bors merged 3 commits into
rust-lang:masterfrom
XiangQingW:proc_macro

Conversation

@XiangQingW

Copy link
Copy Markdown
Contributor

Change-Id: Ib3a396e7334d209fe6c6ef425bbfc7b2ae471378
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 21, 2019
@XiangQingW

Copy link
Copy Markdown
ContributorAuthor

r? @petrochenkov

Comment threadsrc/libsyntax_ext/proc_macro_harness.rs
@Centril

This comment has been minimized.

Comment threadsrc/test/ui/proc-macro/proc-macro-deprecated-attr.rs Outdated
Comment threadsrc/test/ui/proc-macro/proc-macro-deprecated-attr.rs
Comment threadsrc/test/ui/proc-macro/proc-macro-deprecated-attr.rs Outdated
@petrochenkov

Copy link
Copy Markdown
Contributor

Some minor comments.

@petrochenkovpetrochenkov added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 21, 2019
Change-Id: Ib3a396e7334d209fe6c6ef425bbfc7b2ae471378
@XiangQingW

Copy link
Copy Markdown
ContributorAuthor

@petrochenkov@Centril Tanks for your help. I amend the pr. Would you mind reviewing it again if you have free time?

@petrochenkov

Copy link
Copy Markdown
Contributor

Thanks!
@bors r+

@bors

bors commented Oct 22, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit c027be0 has been approved by petrochenkov

@borsbors 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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 22, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 23, 2019
Deprecated proc_macro doesn't trigger warning on build library
Fixrust-lang#65189
@CentrilCentril mentioned this pull request Oct 23, 2019
@Centril

Copy link
Copy Markdown
Contributor

Failed in #65723 (comment), @bors r-

@borsbors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 23, 2019
@petrochenkov

petrochenkov commented Oct 24, 2019

Copy link
Copy Markdown
Contributor

#65484 (comment) said to copy the file rather than create it from scratch because the obscure header

// force-host// no-prefer-dynamic

is important for cross-compilation.
It should be kept.

Change-Id: Ib3a396e7334d209fe6c6ef425bbfc7b2ae471378
@XiangQingW

XiangQingW commented Oct 24, 2019

Copy link
Copy Markdown
ContributorAuthor

#65484 (comment) said to copy the file rather than create it from scratch because the obscure header

// force-host// no-prefer-dynamic

is important for cross-compilation.
It should be kept.

Thanks.
Could you please review again? It's important, however, I can't find the document introducing it.

@petrochenkov

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Oct 24, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit b133156 has been approved by petrochenkov

@bors

bors commented Oct 24, 2019

Copy link
Copy Markdown
Collaborator

🌲 The tree is currently closed for pull requests below priority 1000, this pull request will be tested once the tree is reopened

@borsbors 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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 24, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 25, 2019
Deprecated proc_macro doesn't trigger warning on build library
Fixrust-lang#65189
@CentrilCentril mentioned this pull request Oct 25, 2019
bors added a commit that referenced this pull request Oct 25, 2019
Rollup of 9 pull requests
Successful merges:
- #62959 (Add by-value iterator for arrays )
- #65390 (Add long error explanation for E0576)
- #65408 (reorder config.toml.example options and add one missing option)
- #65414 (ignore uninhabited non-exhaustive variant fields)
- #65666 (Deprecated proc_macro doesn't trigger warning on build library)
- #65742 (Pre-expansion gate most of the things)
- #65747 (Adjust the tracking issue for `untagged_unions`.)
- #65763 (Changed APIT with explicit generic args span to specific arg spans)
- #65775 (Fix more `ReEmpty` ICEs)
Failed merges:
- #65519 (trait-based structural match implementation)
r? @ghost
@bors
bors merged commit b133156 into rust-lang:masterOct 25, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: 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.

deprecated proc_macro trigger warning on build library

6 participants

@XiangQingW@rust-highfive@Centril@petrochenkov@bors@alexcrichton