-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Add PartialEq<char> for proc_macro::Punct #78636
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
Conversation
|
(rust_highfive has picked a reviewer for you, use r? to override) |
|
@rfcbot fcp merge |
|
Team member @dtolnay has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
|
🔔 This is now entering its final comment period, as per the review above. 🔔 |
|
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. The RFC will be merged soon. |
|
@bors r+ |
|
📌 Commit 4652032 has been approved by |
|
☀️ Test successful - checks-actions |
|
Also, doesn't this violate symmetry of |
|
Marked with relnotes.
I assumed coherence wouldn't allow to add such a symmetric impl, but it's actually allowed. @dtolnay or @pthariensflame, could you make a PR adding |
|
I'll make one today. |
punct.as_char() == '░'is pervasive when parsing anything involving punct. I thinkpunct == '░'is sufficiently unambiguous that it makes sense to provide the impl.rust/library/proc_macro/src/quote.rs
Line 79 in 1899c48
rust/library/proc_macro/src/quote.rs
Line 83 in 1899c48
rust/src/test/ui/suggestions/auxiliary/issue-61963.rs
Line 26 in 1899c48
rust/src/test/ui/proc-macro/auxiliary/three-equals.rs
Line 23 in 1899c48