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 4 pull requests #88009

Merged
merged 8 commits into from
Aug 13, 2021
Merged

Commits on Aug 12, 2021

  1. Avoid ICE caused by suggestion

    When suggesting dereferencing something that can be iterable in a `for`
    loop, erase lifetimes and use a fresh `ty::ParamEnv` to avoid 'region
    constraints already solved' panic.
    
    Fix  rust-lang#87657.
    estebank committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    a0bf7d2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a7d2d1 View commit details
    Browse the repository at this point in the history
  3. Revert "Rollup merge of rust-lang#87779 - Aaron1011:stmt-ast-id, r=pe…

    …trochenkov"
    
    Fixes rust-lang#87877
    
    This change interacts badly with `noop_flat_map_stmt`,
    which synthesizes multiple statements with the same `NodeId`.
    
    I'm working on a better fix that will still allow us to
    remove this special case. For now, let's revert the change
    to fix the ICE.
    
    This reverts commit a4262cc, reversing
    changes made to 8ee962f.
    Aaron1011 committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    cfc3fee View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2021

  1. Configuration menu
    Copy the full SHA
    a3d3df4 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#87795 - estebank:erase-lifetimes-in-suggest…

    …ion, r=oli-obk
    
    Avoid ICE caused by suggestion
    
    When suggesting dereferencing something that can be iterable in a `for`
    loop, erase lifetimes and use a fresh `ty::ParamEnv` to avoid 'region
    constraints already solved' panic.
    
    Fix rust-lang#87657, fix rust-lang#87709, fix rust-lang#87651.
    GuillaumeGomez authored Aug 13, 2021
    Configuration menu
    Copy the full SHA
    717f9e3 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#87966 - pietroalbini:fix-pidfd-test, r=m-ou-se

    Fix `command-create-pidfd` test inside unprivileged Docker containers
    
    In `src/test/ui/command/command-create-pidfd.rs` (added rust-lang#81825), the detection code to skip the test on unsupported platforms doesn't account for unprivileged Docker containers (CI uses privileged containers), which leads to a test failure as you can't call the `clone3` syscall in that environment. This PR enhances the detection code to also consider unprivileged containers.
    GuillaumeGomez authored Aug 13, 2021
    Configuration menu
    Copy the full SHA
    fc3a90d View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#87969 - Aaron1011:revert-stmt-id, r=petroch…

    …enkov
    
    Revert "Rollup merge of rust-lang#87779 - Aaron1011:stmt-ast-id, r=petrochenkov"
    
    Fixes rust-lang#87877
    
    This change interacts badly with `noop_flat_map_stmt`,
    which synthesizes multiple statements with the same `NodeId`.
    
    I'm working on a better fix that will still allow us to
    remove this special case. For now, let's revert the change
    to fix the ICE.
    
    This reverts commit a4262cc, reversing
    changes made to 8ee962f.
    GuillaumeGomez authored Aug 13, 2021
    Configuration menu
    Copy the full SHA
    96c9dab View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#88005 - GuillaumeGomez:headers-gui-tests, r…

    …=notriddle
    
    Add rustdoc GUI test for headers
    
    Add test for rust-lang#87861.
    
    r? ``@notriddle``
    GuillaumeGomez authored Aug 13, 2021
    Configuration menu
    Copy the full SHA
    f382d23 View commit details
    Browse the repository at this point in the history