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 #101265

Closed
wants to merge 25 commits into from
Closed

Commits on Aug 6, 2022

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

Commits on Aug 23, 2022

  1. Support eager and lazy methods for providing references and values

    There are times where computing a value may be cheap, or where
    computing a reference may be expensive, so this fills out the
    possibilities.
    shepmaster committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    38de102 View commit details
    Browse the repository at this point in the history
  2. Add `Provider::{would_be_satisfied_by_value_of,would_be_satisfied_by_…

    …ref_of}`
    
    While the `provide_*` methods already short-circuit when a value has
    been provided, there are times where an expensive computation is
    needed to determine if the `provide_*` method can even be called.
    shepmaster committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    260ec93 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2022

  1. Try normalizing types without RevealAll in ParamEnv in mir validation

    Before, the MIR validator used RevealAll in its ParamEnv for type
    checking. This could cause false negatives in some cases due to
    RevealAll ParamEnvs not always use all predicates as expected here.
    
    Since some MIR passes like inlining use RevealAll as well, keep using
    it in the MIR validator too, but when it fails usign RevealAll, also
    try the check without it, to stop false negatives.
    Noratrieb committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    81a583c View commit details
    Browse the repository at this point in the history
  2. Only normalize once in mir validator typechecker

    Before, it called `normalize_erasing_regions` twice since
    `equal_up_to_regions` called it as well for both types.
    Noratrieb committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    96d4137 View commit details
    Browse the repository at this point in the history
  3. Make std::os::fd public.

    `std::os::fd` defines types like `OwnedFd` and `RawFd` and is common
    between Unix and non-Unix platforms that share a basic file-descriptor
    concept. Rust currently uses this internally to simplify its own code,
    but it would be useful for external users in the same way, so make it
    public.
    
    This means that `OwnedFd` etc. will all appear in three places, for
    example on unix platforms:
     - `std::os::fd::OwnedFd`
     - `std::os::unix::io::OwnedFd`
     - `std::os::unix::prelude::OwnedFd`
    sunfishcode committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    c846a2a View commit details
    Browse the repository at this point in the history
  4. Update asrawfd.js.

    sunfishcode committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    09bbc42 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bda1262 View commit details
    Browse the repository at this point in the history
  6. Re-introduce unstable attributes.

    Add `#[unstable(feature = "os_fd", issue = "98699")]` to the new
    `pub use` declarations.
    sunfishcode committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    7d80510 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2022

  1. Configuration menu
    Copy the full SHA
    803e35a View commit details
    Browse the repository at this point in the history
  2. Update rustdoc tests

    GuillaumeGomez committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    4304d1d View commit details
    Browse the repository at this point in the history
  3. Add rustdoc GUI test

    GuillaumeGomez committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    b112bfe View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f8af919 View commit details
    Browse the repository at this point in the history
  5. Fix bad target name in Walkthrough

    Walkthrough currently say:
    
    ```
    rustup target add aarch_64-fuchsia
    ```
    but should say
    
    ```
    rustup target add aarch64-fuchsia
    ```
    diminishedprime authored Aug 31, 2022
    Configuration menu
    Copy the full SHA
    a928255 View commit details
    Browse the repository at this point in the history
  6. rustdoc: remove unused .docblock .impl-items CSS

    The impl-items list stopped being nested inside a docblock since c1b1d68
    notriddle committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    037a911 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2022

  1. Configuration menu
    Copy the full SHA
    d8b572b View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#98368 - sunfishcode:sunfishcode/std-os-fd, …

    …r=joshtriplett
    
    Make `std::os::fd` public.
    
    `std::os::fd` defines types like `OwnedFd` and `RawFd` and is common
    between Unix and non-Unix platforms that share a basic file-descriptor
    concept. Rust currently uses this internally to simplify its own code,
    but it would be useful for external users in the same way, so make it
    public.
    
    This means that `OwnedFd` etc. will all appear in three places, for
    example on unix platforms:
     - `std::os::fd::OwnedFd`
     - `std::os::unix::io::OwnedFd`
     - `std::os::unix::prelude::OwnedFd`
    
    r? ````@joshtriplett````
    Dylan-DPC authored Sep 1, 2022
    Configuration menu
    Copy the full SHA
    bad5b94 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#99583 - shepmaster:provider-plus-plus, r=yaahc

    Add additional methods to the Demand type
    
    This adds on to the original tracking issue rust-lang#96024
    
    r? ````@yaahc````
    Dylan-DPC authored Sep 1, 2022
    Configuration menu
    Copy the full SHA
    a230b73 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#100121 - Nilstrieb:mir-validator-param-env,…

    … r=oli-obk
    
    Try normalizing types without RevealAll in ParamEnv in MIR validation
    
    Before, the MIR validator used RevealAll in its ParamEnv for type
    checking. This could cause false negatives in some cases due to
    RevealAll ParamEnvs not always use all predicates as expected here.
    
    Since some MIR passes like inlining use RevealAll as well, keep using
    it in the MIR validator too, but when it fails usign RevealAll, also
    try the check without it, to stop false negatives.
    
    Fixes rust-lang#99866
    
    cc ```@compiler-errors``` who nicely helped me on zulip
    Dylan-DPC authored Sep 1, 2022
    Configuration menu
    Copy the full SHA
    b61c6d3 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#100200 - petrochenkov:zgccld2, r=lqd,Mark-S…

    …imulacrum
    
    Change implementation of `-Z gcc-ld` and `lld-wrapper` again
    
    This PR partially reverts rust-lang#97375 and uses the strategy described in rust-lang#97402 (comment) instead, thus fixes rust-lang#97755.
    Dylan-DPC authored Sep 1, 2022
    Configuration menu
    Copy the full SHA
    211a525 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#100574 - Urgau:check-cfg-warn-cfg, r=petroc…

    …henkov
    
    Add warning against unexpected --cfg with --check-cfg
    
    This PR adds a warning when an unexpected `--cfg` is specified but not in the specified list of `--check-cfg`.
    
    This is the follow-up PR I mentioned in rust-lang#99519.
    
    r? ````@petrochenkov````
    Dylan-DPC authored Sep 1, 2022
    Configuration menu
    Copy the full SHA
    38399d6 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#101245 - GuillaumeGomez:remove-unneeded-whe…

    …re-whitespace, r=notriddle
    
    Remove unneeded where whitespace
    
    It fixes these two bugs:
    
    ![Screenshot from 2022-08-31 18-14-40](https://user-images.githubusercontent.com/3050060/187727950-94657419-abfa-454c-9d27-004280fbcb45.png)
    ![Screenshot from 2022-08-31 18-14-49](https://user-images.githubusercontent.com/3050060/187727956-21d1b39d-62d7-4e7b-8f6f-631ceda67a19.png)
    
    It's a relic from a very old time (this commit: rust-lang@bfd01b7).
    
    You can test the result [here](https://rustdoc.crud.net/imperio/remove-unneeded-where-whitespace/lib2/struct.WhereWhitespace.html).
    
    cc ````@jsha````
    r? ````@notriddle````
    Dylan-DPC authored Sep 1, 2022
    Configuration menu
    Copy the full SHA
    5bf3fb9 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#101251 - diminishedprime:patch-1, r=JohnTitor

    Fix  bad target name in Walkthrough
    
    Walkthrough currently say:
    
    ```
    rustup target add aarch_64-fuchsia
    ```
    but should say
    
    ```
    rustup target add aarch64-fuchsia
    ```
    Dylan-DPC authored Sep 1, 2022
    Configuration menu
    Copy the full SHA
    db71963 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#101254 - rust-lang:notriddle/remove-even-mo…

    …re-css, r=jsha
    
    rustdoc: remove unused `.docblock .impl-items` CSS
    
    The impl-items list stopped being nested inside a docblock since c1b1d68
    Dylan-DPC authored Sep 1, 2022
    Configuration menu
    Copy the full SHA
    ac90ff3 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#101256 - andrewpollack:fuchsia-docs-adding,…

    … r=tmandry
    
    Fixes/adjustments to Fuchsia doc walkthrough
    
    Small fixes/adjustments missed during rust-lang#100927
    Dylan-DPC authored Sep 1, 2022
    Configuration menu
    Copy the full SHA
    291be63 View commit details
    Browse the repository at this point in the history