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 6 pull requests #113491

Merged
merged 21 commits into from
Jul 8, 2023
Merged

Rollup of 6 pull requests #113491

merged 21 commits into from
Jul 8, 2023

Commits on Jun 24, 2023

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

Commits on Jun 27, 2023

  1. std: edit [T]::swap docs

    Add a note telling that no elements change when arguments are equal
    marcospb19 committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    30c61ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2c33dfe View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2023

  1. Add release notes for 1.71.0

    cuviper committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    13fcd8d View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2023

  1. Remove target feature note

    These are still unstable through `avx512_target_feature`.
    
    Co-authored-by: Taiki Endo <te316e89@gmail.com>
    cuviper and taiki-e committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    281e072 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    43f4fa4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a30f797 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

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

Commits on Jul 1, 2023

  1. add regression test

    ericmarkmartin committed Jul 1, 2023
    Configuration menu
    Copy the full SHA
    7dfb9ed View commit details
    Browse the repository at this point in the history
  2. add thir-print test

    ericmarkmartin committed Jul 1, 2023
    Configuration menu
    Copy the full SHA
    b9e991a View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2023

  1. Configuration menu
    Copy the full SHA
    7bb9de8 View commit details
    Browse the repository at this point in the history
  2. refactor

    ericmarkmartin committed Jul 2, 2023
    Configuration menu
    Copy the full SHA
    07b1912 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. add mir dump test

    ericmarkmartin committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    afccc44 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    261c023 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2023

  1. Configuration menu
    Copy the full SHA
    50b4d1f View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#113005 - compiler-errors:dont-query-normali…

    …ze, r=cjgillot
    
    Don't call `query_normalize` when reporting similar impls
    
    Firstly, It's sketchy to be using `query_normalize` at all during HIR typeck -- it's asking for an ICE 😅. Secondly, we're normalizing an impl trait ref that potentially has parameter types in `ty::ParamEnv::empty()`, which is kinda sketchy as well.
    
    The only UI test change from removing this normalization is that we don't evaluate anonymous constants in impls, which end up giving us really ugly suggestions:
    
    ```
    error[E0277]: the trait bound `[X; 35]: Default` is not satisfied
     --> /home/gh-compiler-errors/test.rs:4:5
      |
    4 |     <[X; 35] as Default>::default();
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `[X; 35]`
      |
      = help: the following other types implement trait `Default`:
                &[T]
                &mut [T]
                [T; 32]
                [T; core::::array::{impl#30}::{constant#0}]
                [T; core::::array::{impl#31}::{constant#0}]
                [T; core::::array::{impl#32}::{constant#0}]
                [T; core::::array::{impl#33}::{constant#0}]
                [T; core::::array::{impl#34}::{constant#0}]
              and 27 others
    ```
    
    So just fold the impls with a `BottomUpFolder` that calls `ty::Const::eval`. This doesn't work totally correctly with generic-const-exprs, but it's fine for stable code, and this is error reporting after all.
    matthiaskrgr committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    48a0d03 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#113064 - marcospb19:add-note-in-vec-swap-do…

    …cs, r=Mark-Simulacrum
    
    std: edit [T]::swap docs
    
    Add a note about what happens when index arguments are equal.
    matthiaskrgr committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    8c56299 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#113138 - cuviper:relnotes-1.71.0, r=Mark-Si…

    …mulacrum
    
    Add release notes for 1.71.0
    
    r? ``@Mark-Simulacrum``
    cc ``@rust-lang/release``
    matthiaskrgr committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    14aeef3 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#113217 - ericmarkmartin:lower-type-relative…

    …-ctor-to-adt, r=cjgillot
    
    resolve typerelative ctors to adt
    
    Associated issue: rust-lang#110508
    
    r? ``@spastorino``
    matthiaskrgr committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    b637be7 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#113254 - atouchet:rd3, r=Mark-Simulacrum

    Use consistent formatting in Readme
    matthiaskrgr committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    dd83228 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#113482 - GuillaumeGomez:migrate-gui-test-co…

    …lor-20, r=notriddle
    
    Migrate GUI colors test to original CSS color format
    
    Follow-up of rust-lang#111459.
    
    r? ``@notriddle``
    matthiaskrgr committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    de9b9c8 View commit details
    Browse the repository at this point in the history