Skip to content

Conversation

jonas-schievink
Copy link
Contributor

This lets us distinguish them from macros in item position just by looking at the syntax tree.

Fixes #11854

bors r+

bors bot added a commit that referenced this pull request Apr 5, 2022
11904: internal: Wrap macros in expr position in `MacroExpr` node r=jonas-schievink a=jonas-schievink

This lets us distinguish them from macros in item position just by looking at the syntax tree.

Fixes #11854

bors r+

Co-authored-by: Jonas Schievink <[email protected]>
@bors
Copy link
Contributor

bors bot commented Apr 5, 2022

Canceled.

@jonas-schievink
Copy link
Contributor Author

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 5, 2022

@bors bors bot merged commit b5eaf56 into rust-lang:master Apr 5, 2022
@jonas-schievink jonas-schievink deleted the wrap-macro-exprs branch April 5, 2022 15:59
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.

Format on type adds bracket incorrectly
1 participant