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

Commits on May 16, 2019

  1. 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 behaviour. It will lint each same arms found.
    Vincent Dal Maso committed May 16, 2019
    Configuration menu
    Copy the full SHA
    902726c View commit details
    Browse the repository at this point in the history
  2. Add test for multiple same arms lints

    Changes:
    - Add a test to match multiple arms in the same match statement
    Vincent Dal Maso committed May 16, 2019
    Configuration menu
    Copy the full SHA
    bfb2303 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2019

  1. Configuration menu
    Copy the full SHA
    874de88 View commit details
    Browse the repository at this point in the history
  2. Make non_ascii_literal auto-fixable

    BO41 committed May 20, 2019
    Configuration menu
    Copy the full SHA
    859b329 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    36c8aab View commit details
    Browse the repository at this point in the history

Commits on May 21, 2019

  1. Add the common case search

    Changes:
    - Refactor the common case search into a function.
    - Fix the useless Option around the vec in the search_same_list.
    Vincent Dal Maso committed May 21, 2019
    Configuration menu
    Copy the full SHA
    fa9f744 View commit details
    Browse the repository at this point in the history
  2. Fix breaking tests

    Changes:
    - Fix stderr breaking the tests
    - Adding tests over the if arms
    Vincent Dal Maso committed May 21, 2019
    Configuration menu
    Copy the full SHA
    40f3665 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2019

  1. Rollup merge of rust-lang#4102 - Urriel:fix/4096_match_same_arms, r=f…

    …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
    flip1995 authored May 27, 2019
    Configuration menu
    Copy the full SHA
    f0a7673 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#4119 - BO41:non_ascii_literal, r=flip1995

    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 authored May 27, 2019
    Configuration menu
    Copy the full SHA
    dce670c View commit details
    Browse the repository at this point in the history