-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Warn for bindings named same as variants when matching against a borrow #67783
Conversation
r? @cramertj (rust_highfive has picked a reviewer for you, use r? to override) |
r? @csmoe |
Please also add a regression test for the diff you've introduced. r? @Centril |
I was going to ask if this was necessairy, thanks for answering |
@rustbot modify labels to +S-waiting-on-author -S-waiting-on-review |
f6fd8f7
to
f474c00
Compare
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
append |
Co-authored-by: Centril <twingoow@gmail.com>
Co-authored-by: Centril <twingoow@gmail.com>
Thanks! @bors r+ rollup |
📌 Commit 5cc9f6b has been approved by |
…, r=Centril Warn for bindings named same as variants when matching against a borrow Fixes rust-lang#67776
Rollup of 10 pull requests Successful merges: - #67450 (Allow for setting a ThinLTO import limit during bootstrap) - #67595 (Suggest adding a lifetime constraint for opaque type) - #67636 (allow rustfmt key in [build] section) - #67736 (Less-than is asymmetric, not antisymmetric) - #67762 (Add missing links for insecure_time) - #67783 (Warn for bindings named same as variants when matching against a borrow) - #67796 (Ensure that we process projections during MIR inlining) - #67807 (Use drop instead of the toilet closure `|_| ()`) - #67816 (Clean up err codes) - #67825 (Minor: change take() docs grammar to match other docs) Failed merges: r? @ghost
Fixes #67776