Skip to content
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

Enforce order of any s_*! macro calls #2985

Merged
merged 2 commits into from Nov 1, 2022

Conversation

flba-eb
Copy link
Contributor

@flba-eb flba-eb commented Oct 28, 2022

Before this change, only the order of s! was checked. After, it also checks s_no_extra_traits! and s_paren!. Only the order is checked, not the number of calls. This is required because multiple calls have to be allowed.

@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) soon.

Please see the contribution instructions for more information.

Before this change, only the order of `s!` was checked.
After, it also checks `s_no_extra_traits!` and `s_paren!`.
Only the order is checked, not the number of calls. This is
required because multiple calls have to be allowed.
@JohnTitor
Copy link
Member

Thanks!
@bors r+

@bors
Copy link
Contributor

bors commented Nov 1, 2022

📌 Commit 60b655d has been approved by JohnTitor

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Nov 1, 2022

⌛ Testing commit 60b655d with merge a2b0b4f...

@bors
Copy link
Contributor

bors commented Nov 1, 2022

☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing a2b0b4f to master...

@bors bors merged commit a2b0b4f into rust-lang:master Nov 1, 2022
@flba-eb flba-eb deleted the fix_s_macro_order branch November 2, 2022 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants