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

Rollup of 2 pull requests #4149

Merged
merged 9 commits into from
May 27, 2019
Merged

Rollup of 2 pull requests #4149

merged 9 commits into from
May 27, 2019

Conversation

flip1995
Copy link
Member

Successful merges:

Failed merges:

r? @ghost

Vincent Dal Maso and others added 9 commits May 16, 2019 11:27
Changes:
- Add a function search_same_list which return a list of matched expressions
- Change the match_same_arms implementation behaviour. It will lint each same arms found.
Changes:
- Add a test to match multiple arms in the same match statement
Changes:
- Refactor the common case search into a function.
- Fix the useless Option around the vec in the search_same_list.
Changes:
- Fix stderr breaking the tests
- Adding tests over the if arms
…lip1995

Fix match_same_arms to fail late

Changes:
- Add a function search_same_list which return a list of matched expressions
- Change the match_same_arms implementation behavior. It will lint each same arms found.

fixes rust-lang#4096

changelog: none
Improve non ascii literal

This PR improves the example of the [non_ascii_literal](https://rust-lang.github.io/rust-clippy/master/index.html#non_ascii_literal) lint.
It also makes it auto-fixable.

Please review. This is my first PR to this project.
(Thanks @flip1995 for the help :)

changelog: none
fixes rust-lang#4117
@flip1995
Copy link
Member Author

@bors r+ p=1

@bors
Copy link
Collaborator

bors commented May 27, 2019

📌 Commit dce670c has been approved by flip1995

@bors
Copy link
Collaborator

bors commented May 27, 2019

⌛ Testing commit dce670c with merge eb0a288...

bors added a commit that referenced this pull request May 27, 2019
Rollup of 2 pull requests

Successful merges:

 - #4102 (Fix match_same_arms to fail late)
 - #4119 (Improve non ascii literal)

Failed merges:

r? @ghost
@bors
Copy link
Collaborator

bors commented May 27, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: flip1995
Pushing eb0a288 to master...

@bors bors merged commit dce670c into rust-lang:master May 27, 2019
@flip1995 flip1995 deleted the rollup-6knpdqb branch June 18, 2019 10:05
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.

2 participants