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 6 pull requests #69759

Closed
wants to merge 32 commits into from
Closed

Commits on Mar 3, 2020

  1. Configuration menu
    Copy the full SHA
    7859f0e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    812e62f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d3e5177 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    98c7ed6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3aeb9f0 View commit details
    Browse the repository at this point in the history
  6. Use correct place for enum_place

    PR rust-lang#69562, which fixed a bug that was causing clippy to ICE, passed the
    place for the *result* of `Rvalue::Discriminant` instead of the
    *operand* to `apply_discriminant_switch_effect`. As a result, no effect
    was applied at all, and we lost the perf benefits from marking
    inactive enum variants as uninitialized.
    ecstatic-morse committed Mar 3, 2020
    Configuration menu
    Copy the full SHA
    e82ec23 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1a1dcfa View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2af5e87 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a20d54f View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2020

  1. Configuration menu
    Copy the full SHA
    842af36 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f54e863 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6200f5c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e32ee55 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    634a167 View commit details
    Browse the repository at this point in the history
  6. Use subslice patterns in slice methods

    For all of the methods that pick off the first or last element, we can
    use subslice patterns to implement them directly, rather than relying on
    deeper indexing function calls. At a minimum, this means the generated
    code will rely less on inlining for performance, but in some cases it
    also optimizes better.
    cuviper committed Mar 4, 2020
    Configuration menu
    Copy the full SHA
    53be0cc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c6f1244 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6f23650 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    eb67eca View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a30f55f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    bd4dad4 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    46d85e5 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a32afa3 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a5d1e18 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    2cb2559 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    b11cd0b View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2020

  1. Configuration menu
    Copy the full SHA
    8efb9eb View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2020

  1. Rollup merge of rust-lang#69656 - matthiaskrgr:iter_nth_zero, r=oli-obk

    Use .next() instead of .nth(0) on iterators.
    Centril committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    f64c639 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#69674 - mark-i-m:assoc-fn, r=Centril

    Rename DefKind::Method and TraitItemKind::Method
    
    r? @eddyb, @Centril, or @matthewjasper
    
    cc rust-lang#69498 rust-lang#60163
    Centril committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    19272a0 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#69676 - ecstatic-morse:fix-enum-discr-effec…

    …t, r=oli-obk
    
    Pass correct place to `discriminant_switch_effect`
    
    PR rust-lang#69562, which fixed a bug that was causing clippy to ICE, mistakenly passed the place holding the *result* of `Rvalue::Discriminant` instead of the place holding its *operand* to `apply_discriminant_switch_effect` as the enum place. As a result, no effect was applied at all, and we lost the perf benefits from marking inactive enum variants as uninitialized.
    
    **edit:** The regression test has been split into rust-lang#69744.
    
    r? @oli-obk
    Centril committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    9fd88a9 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#69706 - cuviper:subslice-methods, r=Centril

    Use subslice patterns in slice methods
    
    For all of the methods that pick off the first or last element, we can
    use subslice patterns to implement them directly, rather than relying on
    deeper indexing function calls. At a minimum, this means the generated
    code will rely less on inlining for performance, but in some cases it
    also optimizes better.
    Centril committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    cc35ba6 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#69714 - spastorino:place-ref-lifetime, r=ol…

    …i-obk
    
    Make PlaceRef take just one lifetime
    
    r? @eddyb
    Centril committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    b059d02 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#69727 - JohnTitor:sugg-unwrap, r=estebank

    Avoid using `unwrap()` in suggestions
    
    Addresses rust-lang#69725, still need a regression test.
    
    r? @estebank
    Centril committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    7f53c32 View commit details
    Browse the repository at this point in the history