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 7 pull requests #72464

Merged
merged 17 commits into from
May 22, 2020
Merged

Rollup of 7 pull requests #72464

merged 17 commits into from
May 22, 2020

Commits on May 3, 2020

  1. Configuration menu
    Copy the full SHA
    dfbc143 View commit details
    Browse the repository at this point in the history
  2. Adding new test rust-lang#71136

    kper committed May 3, 2020
    Configuration menu
    Copy the full SHA
    bc29f1d View commit details
    Browse the repository at this point in the history
  3. Fix tidy checks

    kper committed May 3, 2020
    Configuration menu
    Copy the full SHA
    d232be8 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2020

  1. Stabilize process_set_argv0 feature for Unix

    This stabilizes process_set_argv0 targeting 1.45.0. It has been
    useful in practice and seems useful as-is.
    
    The equivalent feature could be implemented for Windows, but as far as I
    know nobody has. That can be done separately.
    
    Tracking issue: rust-lang#66510
    jsgf committed May 12, 2020
    Configuration menu
    Copy the full SHA
    ff9646c View commit details
    Browse the repository at this point in the history

Commits on May 19, 2020

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

Commits on May 20, 2020

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

Commits on May 21, 2020

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

Commits on May 22, 2020

  1. Configuration menu
    Copy the full SHA
    e776121 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    985ebf2 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#71829 - kper:issue71136, r=matthewjasper

    Fix suggestion to borrow in struct
    
    The corresponding issue is rust-lang#71136.
    The compiler suggests that borrowing `the_foos` might solve the problem. This is obviously incorrect.
    ```
    struct Foo(u8);
    
    #[derive(Clone)]
    struct FooHolster {
        the_foos: Vec<Foo>,
    }
    ```
    
    I propose as fix to check if there is any colon in the span. However, there might a case where `my_method(B { a: 1, b : foo })` would be appropriate to show a suggestion for `&B ...`.  To fix that too, we can simply check if there is a bracket in the span. This is only possible because both spans are different.
    Issue's span: `the_foos: Vec<Foo>`
    other's span: `B { a : 1, b : foo }`
    RalfJung authored May 22, 2020
    Configuration menu
    Copy the full SHA
    9c34481 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#72123 - jsgf:stabilize-arg0, r=sfackler

    Stabilize process_set_argv0 feature for Unix
    
    This stabilizes process_set_argv0 targeting 1.45.0. It has been
    useful in practice and seems useful as-is.
    
    The equivalent feature could be implemented for Windows, but as far as I
    know nobody has. That can be done separately.
    
    Tracking issue: rust-lang#66510
    RalfJung authored May 22, 2020
    Configuration menu
    Copy the full SHA
    53d0046 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#72235 - GuillaumeGomez:cleanup-E0590, r=Dyl…

    …an-DPC
    
    Clean up E0590 explanation
    
    r? @Dylan-DPC
    RalfJung authored May 22, 2020
    Configuration menu
    Copy the full SHA
    02eb002 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#72345 - GuillaumeGomez:cleanup-e0593, r=Dyl…

    …an-DPC
    
    Clean up E0593 explanation
    
    r? @Dylan-DPC
    RalfJung authored May 22, 2020
    Configuration menu
    Copy the full SHA
    f7ed13b View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#72376 - wesleywiser:record_cgu_name, r=Mark…

    …-Simulacrum
    
    [self-profling] Record the cgu name when doing codegen for a module
    RalfJung authored May 22, 2020
    Configuration menu
    Copy the full SHA
    a116e7b View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#72399 - Lucretiel:ipv4-display-fast, r=kennytm

    Add fast-path optimization for Ipv4Addr::fmt
    
    Don't use an intermediary buffer when writing an IPv4 address without any specific alignment options
    RalfJung authored May 22, 2020
    Configuration menu
    Copy the full SHA
    37587af View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#72435 - petrochenkov:cratetypesopt, r=Mark-…

    …Simulacrum
    
    rustllvm: Fix warnings about unused function parameters
    
    And then perform corresponding cleanups on Rust side.
    
    Fixes rust-lang#72427
    RalfJung authored May 22, 2020
    Configuration menu
    Copy the full SHA
    e7503ca View commit details
    Browse the repository at this point in the history