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

Don't warn about snake case for field puns. #66660

Merged

Conversation

jumbatm
Copy link
Contributor

@jumbatm jumbatm commented Nov 23, 2019

Closes #66362.

@rust-highfive
Copy link
Collaborator

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

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 23, 2019
@jumbatm
Copy link
Contributor Author

jumbatm commented Nov 23, 2019

r? @joshtriplett

@rust-highfive

This comment has been minimized.

@Centril
Copy link
Contributor

Centril commented Nov 23, 2019

The test case seems good.

@rust-highfive

This comment has been minimized.

@jumbatm jumbatm force-pushed the dont_warn_about_snake_case_in_patterns branch from bae7c48 to 9f5e966 Compare November 24, 2019 10:49
@rust-highfive

This comment has been minimized.

@jumbatm jumbatm force-pushed the dont_warn_about_snake_case_in_patterns branch from 9f5e966 to e205c38 Compare November 25, 2019 08:42
@rust-highfive

This comment has been minimized.

@Alexendoo Alexendoo added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 4, 2019
@jumbatm jumbatm force-pushed the dont_warn_about_snake_case_in_patterns branch 3 times, most recently from ef58c8b to 5306528 Compare December 9, 2019 09:44
@jumbatm jumbatm changed the title [WIP] Don't warn about snake case for field puns. Don't warn about snake case for field puns. Dec 9, 2019
@jumbatm
Copy link
Contributor Author

jumbatm commented Dec 9, 2019

@joshtriplett This is good for review for the actual changes now :)

@jumbatm jumbatm force-pushed the dont_warn_about_snake_case_in_patterns branch from 5306528 to 6117582 Compare December 22, 2019 07:17
@jumbatm
Copy link
Contributor Author

jumbatm commented Dec 22, 2019

@rustbot modify labels to -S-waiting-on-author, +S-waiting-on-review

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Dec 22, 2019
@bors

This comment has been minimized.

@jumbatm jumbatm force-pushed the dont_warn_about_snake_case_in_patterns branch from 6117582 to 03d5275 Compare December 22, 2019 14:26
@bors

This comment has been minimized.

@jumbatm jumbatm force-pushed the dont_warn_about_snake_case_in_patterns branch from 03d5275 to 2eb486f Compare December 27, 2019 06:42
@rust-highfive

This comment has been minimized.

@jumbatm jumbatm force-pushed the dont_warn_about_snake_case_in_patterns branch from 2eb486f to f4793a9 Compare December 27, 2019 08:26
@Dylan-DPC-zz
Copy link

ferris wheel begins

r? @Centril

@Centril
Copy link
Contributor

Centril commented Jan 16, 2020

r=me rollup with the file renamed and the commits squashed into one.

@jumbatm jumbatm force-pushed the dont_warn_about_snake_case_in_patterns branch from f4793a9 to 25a8f94 Compare January 16, 2020 20:00
@jumbatm
Copy link
Contributor Author

jumbatm commented Jan 17, 2020

Done

@Dylan-DPC-zz
Copy link

@bors r=centril rollup

@bors
Copy link
Contributor

bors commented Jan 17, 2020

📌 Commit 25a8f94 has been approved by centril

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 17, 2020
tmandry added a commit to tmandry/rust that referenced this pull request Jan 17, 2020
…in_patterns, r=centril

Don't warn about snake case for field puns.

Closes rust-lang#66362.
tmandry added a commit to tmandry/rust that referenced this pull request Jan 18, 2020
…in_patterns, r=centril

Don't warn about snake case for field puns.

Closes rust-lang#66362.
tmandry added a commit to tmandry/rust that referenced this pull request Jan 18, 2020
…in_patterns, r=centril

Don't warn about snake case for field puns.

Closes rust-lang#66362.
bors added a commit that referenced this pull request Jan 18, 2020
Rollup of 9 pull requests

Successful merges:

 - #66660 (Don't warn about snake case for field puns.)
 - #68093 (Fix deref impl typedef)
 - #68204 (Use named fields for `{ast,hir}::ItemKind::Impl`)
 - #68256 (Do not ICE on malformed suggestion spans)
 - #68279 (Clean up E0198 explanation)
 - #68291 (Update sanitizer tests)
 - #68312 (Add regression test for integer literals in generic arguments in where clauses)
 - #68314 (Stop treating `FalseEdges` and `FalseUnwind` as having semantic value for const eval)
 - #68317 (Clean up E0199 explanation)

Failed merges:

r? @ghost
@bors bors merged commit 25a8f94 into rust-lang:master Jan 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rust shouldn't warn about snake case in patterns
9 participants