Skip to content

Add fixups for incomplete in proc-macros #12937

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 5 commits into from
Aug 8, 2022
Merged

Add fixups for incomplete in proc-macros #12937

merged 5 commits into from
Aug 8, 2022

Conversation

fprasx
Copy link
Contributor

@fprasx fprasx commented Aug 3, 2022

Partially implements #12777.

Added support for for loops and match statements.

I couldn't do paths like crate::foo:: as I wasn't able to add SyntheticTokens to the end of foo::, they always ended up after crate::

This is my first contribution so please don't be shy about letting me know if I've done anything wrong!

@fprasx
Copy link
Contributor Author

fprasx commented Aug 3, 2022

Not sure why the changes are failing Tidy (they pass everything else). I'm getting this diff, but the +/- lines look exactly the same to me 😅
Screen Shot 2022-08-03 at 4 18 15 PM

EDIT: Now I see, Tidy changed the code, and it should pass now!

@fprasx fprasx requested a review from Veykril August 4, 2022 15:07
@Veykril
Copy link
Member

Veykril commented Aug 8, 2022

Thanks!
@bors r+

@bors
Copy link
Contributor

bors commented Aug 8, 2022

📌 Commit ab44a81 has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Aug 8, 2022

⌛ Testing commit ab44a81 with merge b481b59...

@bors
Copy link
Contributor

bors commented Aug 8, 2022

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

@bors bors merged commit b481b59 into rust-lang:master Aug 8, 2022
@lnicola
Copy link
Member

lnicola commented Aug 8, 2022

changelog fix (first contribution) implement syntax fix-up for match and for loops.

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.

4 participants