Skip to content

Remove hir::Expr::MacroStmts #13156

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

Merged
merged 2 commits into from
Aug 31, 2022
Merged

Remove hir::Expr::MacroStmts #13156

merged 2 commits into from
Aug 31, 2022

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Aug 31, 2022

This hir expression isn't needed and only existed as it was simpler to
deal with at first as it gave us a direct mapping for the ast version of
the same construct. This PR removes it, properly handling the statements
that are introduced by macro call expressions.

This hir expression isn't needed and only existed as it was simpler to
deal with at first as it gave us a direct mapping for the ast version of
the same construct. This PR removes it, properly handling the statements
that are introduced by macro call expressions.
@Veykril Veykril marked this pull request as ready for review August 31, 2022 16:05
@Veykril
Copy link
Member Author

Veykril commented Aug 31, 2022

cc #13027, let's see if this brings the sourcegen unknown types back down 😬

@Veykril
Copy link
Member Author

Veykril commented Aug 31, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Aug 31, 2022

📌 Commit ee02a47 has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Aug 31, 2022

⌛ Testing commit ee02a47 with merge ab068f1...

@bors
Copy link
Contributor

bors commented Aug 31, 2022

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing ab068f1 to master...

@bors bors merged commit ab068f1 into rust-lang:master Aug 31, 2022
@Veykril Veykril deleted the macro-stmts branch August 31, 2022 16:21
@jonas-schievink
Copy link
Contributor

Very nice, I was meaning to do this

@Veykril
Copy link
Member Author

Veykril commented Aug 31, 2022

🎉
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants