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 8 pull requests #91664

Closed
wants to merge 20 commits into from

Commits on Dec 5, 2021

  1. Configuration menu
    Copy the full SHA
    61cab77 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3f831c6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2a95958 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2021

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

Commits on Dec 7, 2021

  1. Only shown relevant type params in E0283 label

    When we point at a binding to suggest giving it a type, erase all the
    type for ADTs that have been resolved, leaving only the ones that could
    not be inferred. For small shallow types this is not a problem, but for
    big nested types with lots of params, this can otherwise cause a lot of
    unnecessary visual output.
    estebank committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    78e88f4 View commit details
    Browse the repository at this point in the history
  2. Refer to uninferred const params by their name, instead of { _: _ }

    When the value of a const param isn't inferred, replace it with the
    param name from the definition.
    estebank committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    3fd15c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6a691b1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7271d1f View commit details
    Browse the repository at this point in the history
  5. Update cargo

    ehuss committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    4aceaed View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4dd3f4e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a79b702 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2021

  1. Lock x.py build state

    Prevent spurious build failures and other bugs caused by parallel runs of
    x.py. We back the lock with sqlite, so that we have a cross-platform locking
    strategy, and which can be done nearly first in the build process (from Python),
    which helps move the lock as early as possible.
    worldeva authored and Mark-Simulacrum committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    0a84930 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#88310 - worldeva:bootstrap-locking, r=Mark-…

    …Simulacrum
    
    Lock bootstrap (x.py) build directory
    
    Closes rust-lang#76661,  closes rust-lang#80849,
    `x.py` creates a lock file at `project_root/lock.db`
    
    r? ``@jyn514`` , because he was one that told me about this~
    matthiaskrgr authored Dec 8, 2021
    Configuration menu
    Copy the full SHA
    4d93b4e View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#90709 - estebank:erase-known-type-params, r…

    …=nagisa
    
    Only shown relevant type params in E0283 label
    
    When we point at a binding to suggest giving it a type, erase all the
    type for ADTs that have been resolved, leaving only the ones that could
    not be inferred. For small shallow types this is not a problem, but for
    big nested types with lots of params, this can otherwise cause a lot of
    unnecessary visual output.
    matthiaskrgr authored Dec 8, 2021
    Configuration menu
    Copy the full SHA
    0a1cfa9 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#91551 - b-naber:const-eval-normalization-ic…

    …e, r=oli-obk
    
    Allow for failure of subst_normalize_erasing_regions in const_eval
    
    Fixes rust-lang#72845
    
    Using associated types that cannot be normalized previously resulted in an ICE. We now allow for normalization failure and return a "TooGeneric" error in that case.
    
    r? ``@RalfJung`` maybe?
    matthiaskrgr authored Dec 8, 2021
    Configuration menu
    Copy the full SHA
    7752498 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#91570 - nbdd0121:const_typeck, r=oli-obk

    Evaluate inline const pat early and report error if too generic
    
    Fix rust-lang#90150
    
    ```@rustbot``` label: T-compiler F-inline_const
    matthiaskrgr authored Dec 8, 2021
    Configuration menu
    Copy the full SHA
    36fc307 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#91571 - dtolnay:printerderef, r=Mark-Simula…

    …crum
    
    Remove unneeded access to pretty printer's `s` field in favor of deref
    
    I found it taxing in some of my recent PRs touching the pretty printer to maintain consistency with the surrounding code, since the current code is all over the place about whether it uses `self.s.…()` or `self.…()` for invoking methods of `rustc_ast_pretty::pp::Printer`.
    
    This PR standardizes on `self.…()` — relying on the `Deref` and `DerefMut` impls introduced by [rust-lang#62532](rust-lang@cab4532).
    matthiaskrgr authored Dec 8, 2021
    Configuration menu
    Copy the full SHA
    19c8099 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#91610 - aDotInTheVoid:patch-2, r=GuillaumeG…

    …omez
    
    Link to rustdoc_json_types docs instead of rustdoc-json RFC
    
    The JSON format has had [many changes](https://github.com/rust-lang/rust/commits/master/src/rustdoc-json-types) since the RFC, so the rustdoc output is the only up to date reference
    
    ``@rustdoc`` modify labels: +A-rustdoc-json +A-docs
    matthiaskrgr authored Dec 8, 2021
    Configuration menu
    Copy the full SHA
    c68248c View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#91619 - ehuss:update-cargo, r=ehuss

    Update cargo
    
    8 commits in 294967c53f0c70d598fc54ca189313c86c576ea7..40dc281755137ee804bc9b3b08e782773b726e44
    2021-11-29 19:04:22 +0000 to 2021-12-06 21:54:44 +0000
    - Unify the description of quiet flag (rust-lang/cargo#10168)
    - Stabilize future-incompat-report (rust-lang/cargo#10165)
    - Support abbreviating `--release` as `-r` (rust-lang/cargo#10133)
    - doc: nudge towards simple version requirements (rust-lang/cargo#10158)
    - Upgrade clap to 2.34.0 (rust-lang/cargo#10164)
    - Treat EOPNOTSUPP the same as ENOTSUP when ignoring failed flock calls. (rust-lang/cargo#10157)
    - Add note about RUSTFLAGS removal from build scripts. (rust-lang/cargo#10141)
    - Make clippy happy (rust-lang/cargo#10139)
    matthiaskrgr authored Dec 8, 2021
    Configuration menu
    Copy the full SHA
    514260c View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#91630 - GuillaumeGomez:missing-whitespace, …

    …r=notriddle
    
    Add missing whitespace before disabled HTML attribute
    
    On the [w3c HTML checker](https://validator.w3.org/nu/#textarea), with the current generated HTML we get:
    
    ![Screenshot from 2021-12-07 15-10-38](https://user-images.githubusercontent.com/3050060/145044653-b38fb679-da76-4890-853f-b696d8fdc06e.png)
    
    The problem was that we were telling tera to remove too many whitespace.
    
    r? ```@notriddle```
    matthiaskrgr authored Dec 8, 2021
    Configuration menu
    Copy the full SHA
    8007601 View commit details
    Browse the repository at this point in the history