Skip to content

Fix regression involving custom derives on items with $crate - #37645

Merged
bors merged 2 commits into
rust-lang:masterfrom
jseyfried:fix_crate_var_in_custom_derives
Nov 10, 2016
Merged

Fix regression involving custom derives on items with $crate#37645
bors merged 2 commits into
rust-lang:masterfrom
jseyfried:fix_crate_var_in_custom_derives

Conversation

@jseyfried

Copy link
Copy Markdown
Contributor

The regression was introduced in #37213.

I believe we cannot make the improvements from #37213 work with the current custom derive setup (c.f. #37637 (comment)) -- we'll have to wait for TokenStream's API to improve.

Fixes#37637.
r? @nrc

@jseyfried
jseyfriedforce-pushed the fix_crate_var_in_custom_derives branch from 475a339 to 97eba16CompareNovember 8, 2016 04:40
@nrc

nrc commented Nov 9, 2016

Copy link
Copy Markdown
Member

@bors: r+

@bors

bors commented Nov 9, 2016

Copy link
Copy Markdown
Collaborator

📌 Commit 97eba16 has been approved by nrc

@eddybeddyb mentioned this pull request Nov 9, 2016
bors added a commit that referenced this pull request Nov 9, 2016
@bors

bors commented Nov 9, 2016

Copy link
Copy Markdown
Collaborator

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

@bors

bors commented Nov 10, 2016

Copy link
Copy Markdown
Collaborator

🔒 Merge conflict

@jseyfried
jseyfriedforce-pushed the fix_crate_var_in_custom_derives branch from 97eba16 to dd97e19CompareNovember 10, 2016 10:07
@jseyfried
jseyfriedforce-pushed the fix_crate_var_in_custom_derives branch from dd97e19 to f5a0385CompareNovember 10, 2016 10:23
@jseyfried
jseyfriedforce-pushed the fix_crate_var_in_custom_derives branch from f5a0385 to 67eeb0aCompareNovember 10, 2016 11:21
@bors

bors commented Nov 10, 2016

Copy link
Copy Markdown
Collaborator

📌 Commit 67eeb0a has been approved by nrc

@bors

bors commented Nov 10, 2016

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 67eeb0a with merge 3dced6f...

bors added a commit that referenced this pull request Nov 10, 2016
Fix regression involving custom derives on items with `$crate`
The regression was introduced in #37213.
I believe we cannot make the improvements from #37213 work with the current custom derive setup (c.f. #37637 (comment)) -- we'll have to wait for `TokenStream`'s API to improve.
Fixes#37637.
r? @nrc
@alexcrichtonalexcrichton added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Nov 10, 2016
@bors
bors merged commit 67eeb0a into rust-lang:masterNov 10, 2016
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@jseyfried@nrc@bors@alexcrichton