Skip to content

Don't use inner macro in marker_impls #111810

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
May 22, 2023
Merged

Conversation

compiler-errors
Copy link
Member

Just recurse instead of having to define an inner macro to avoid the problem with expansion binders being misnumbered between the $meta and $T variables.

cc @Veykril this should fix rust-lang/rust-analyzer#14862 since we've gotten rid of the inner macro.

@rustbot
Copy link
Collaborator

rustbot commented May 21, 2023

r? @thomcc

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

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels May 21, 2023
@thomcc
Copy link
Member

thomcc commented May 22, 2023

Seems fine.

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented May 22, 2023

📌 Commit e9a5a9d has been approved by thomcc

It is now in the queue for this repository.

@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 May 22, 2023
bors added a commit to rust-lang-ci/rust that referenced this pull request May 22, 2023
…iaskrgr

Rollup of 2 pull requests

Successful merges:

 - rust-lang#111810 (Don't use inner macro in `marker_impls`)
 - rust-lang#111826 (Render test messages from bootstrap)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit b0415db into rust-lang:master May 22, 2023
@rustbot rustbot added this to the 1.71.0 milestone May 22, 2023
@WaffleLapkin WaffleLapkin mentioned this pull request May 22, 2023
6 tasks
@compiler-errors compiler-errors deleted the less-macro branch August 11, 2023 20:06
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

macro calls emitting macro definitions resolve badly
4 participants