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 9 pull requests #87347

Merged
merged 26 commits into from
Jul 21, 2021
Merged

Rollup of 9 pull requests #87347

merged 26 commits into from
Jul 21, 2021

Commits on Jul 16, 2021

  1. avoid temporary vectors

    Avoid collecting an interator just to re-iterate immediately.
    Rather reuse the previous iterator. (clippy::needless_collect)
    matthiaskrgr committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    8462a37 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2021

  1. Configuration menu
    Copy the full SHA
    31484c0 View commit details
    Browse the repository at this point in the history
  2. Remove unused file

    GuillaumeGomez committed Jul 17, 2021
    Configuration menu
    Copy the full SHA
    b0f8776 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3f1a120 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2021

  1. Configuration menu
    Copy the full SHA
    d05a286 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4b82bbe View commit details
    Browse the repository at this point in the history
  3. Add comments explaining the unix command-line argument support.

    Following up on rust-lang#87236, add comments to the unix command-line argument
    support explaining that the code doesn't mutate the system-provided
    argc/argv, and that this is why the code doesn't need a lock or special
    memory ordering.
    sunfishcode committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    2a56a68 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2021

  1. Fix typo in compile.rs

    Chinmay Deshpande authored Jul 20, 2021
    Configuration menu
    Copy the full SHA
    64f4e34 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b3594f0 View commit details
    Browse the repository at this point in the history
  3. Fix NixOS detection

    Use `/etc/os-release` instead of `/etc/NIXOS`.
    The latter one does not exist on NixOS when using tmpfs as root.
    oxalica committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    919a8a5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    320d049 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2021

  1. add working code example

    midgleyc committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    e09d782 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    adc5de6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b24d491 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    27ffc37 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3e981e2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8b75fec View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#87187 - oxalica:fix-nixos-detect, r=nagisa

    Fix NixOS detection
    
    Use `/etc/os-release` instead of `/etc/NIXOS` for detection.
    The latter one does not exist on NixOS when using tmpfs as root.
    GuillaumeGomez authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    2861265 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#87206 - matthiaskrgr:clippy_collect, r=davi…

    …dtwco
    
    avoid temporary vectors/reuse iterators
    
    Avoid collecting an interator just to re-iterate immediately.
    Rather reuse the previous iterator. (clippy::needless_collect)
    GuillaumeGomez authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    358b2cc View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#87230 - GuillaumeGomez:docblock-table-overf…

    …low, r=notriddle
    
    Fix docblock <table> overflow
    
    Before:
    
    ![Screenshot from 2021-07-18 00-05-23](https://user-images.githubusercontent.com/3050060/126050272-ce08bc5f-74ff-4135-bc12-d708d87470cc.png)
    
    After:
    
    ![Screenshot from 2021-07-18 00-03-55](https://user-images.githubusercontent.com/3050060/126050273-42f41b4d-ad57-4a87-91de-18e63f8504ec.png)
    
    cc `@SergioBenitez`
    
    r? `@notriddle`
    GuillaumeGomez authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    e6380a6 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#87273 - fee1-dead:impl-const-impl-bounds, r…

    …=oli-obk
    
    Recognize bounds on impls as const bounds
    
    r? ```@oli-obk```
    GuillaumeGomez authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    1008ace View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#87279 - sunfishcode:document-unix-argv, r=R…

    …alfJung
    
    Add comments explaining the unix command-line argument support.
    
    Following up on rust-lang#87236, add comments to the unix command-line argument
    support explaining that the code doesn't mutate the system-provided
    argc/argv, and that this is why the code doesn't need a lock or special
    memory ordering.
    
    r? ```@RalfJung```
    GuillaumeGomez authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    eb54ddd View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#87301 - chinmaydd:chinmaydd-patch-1-1, r=jy…

    …n514
    
    Fix typo in compile.rs
    GuillaumeGomez authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    c6aaadc View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#87311 - oli-obk:nll_suggestion_span, r=este…

    …bank
    
    Get back the more precise suggestion spans of old regionck
    
    I noticed that when you turn on nll, the structured suggestion replaces a snippet instead of appending a snippet. It seems clearer to the user to only highlight the newly added characters instead of the entire `impl Trait` (and old regionck already does it this way).
    
    r? ``@estebank``
    GuillaumeGomez authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    fc10326 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#87321 - midgleyc:add-E0722-long, r=Guillaum…

    …eGomez
    
    Add long explanation for E0722
    
    Helps with rust-lang#61137
    GuillaumeGomez authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    23ecb8b View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#87342 - midgleyc:add-E0757-long, r=Guillaum…

    …eGomez
    
    Add long explanation for E0757
    
    Helps with rust-lang#61137
    GuillaumeGomez authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    3a8bc0d View commit details
    Browse the repository at this point in the history