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

Merged
merged 20 commits into from
Mar 7, 2023
Merged

Rollup of 8 pull requests #108821

merged 20 commits into from
Mar 7, 2023

Commits on Feb 8, 2023

  1. const_eval: implies_by in rustc_const_unstable

    Extend support for `implies_by` (from `#[stable]` and `#[unstable]`)
    to `#[rustc_const_stable]` and `#[rustc_const_unstable]`.
    
    Signed-off-by: David Wood <[email protected]>
    davidtwco committed Feb 8, 2023
    Configuration menu
    Copy the full SHA
    9127834 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2023

  1. sub is not sup

    compiler-errors committed Mar 4, 2023
    Configuration menu
    Copy the full SHA
    1f92c61 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2023

  1. Add regression tests for issue 70919

    Desugaring DropAndReplace at MIR build (rust-lang#107844) fixed issue
    70919. Add regressions tests, borrowed from rust-lang#102078, to ensure we
    check for this in the future.
    
    Co-authored-by: Aaron Hill <[email protected]>
    zeegomo and Aaron1011 committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    beebd3a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb4ebc1 View commit details
    Browse the repository at this point in the history
  3. Add test.

    cjgillot committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    5d7234a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    858eab6 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2023

  1. Configuration menu
    Copy the full SHA
    8c0cbd8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2fe288f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5c0f55d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    23ba4ce View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    717f93c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    33d7fad View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#107801 - davidtwco:stability-implies-const,…

    … r=Nilstrieb
    
    const_eval: `implies_by` in `rustc_const_unstable`
    
    Fixes rust-lang#107605.
    
    Extend support for `implies_by` (from `#[stable]` and `#[unstable]`) to `#[rustc_const_stable]` and `#[rustc_const_unstable]`.
    
    cc ``@steffahn``
    matthiaskrgr authored Mar 6, 2023
    Configuration menu
    Copy the full SHA
    9c99a4c View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#108750 - compiler-errors:aaaaaaaa, r=lcnr

    Fix `ObligationCtxt::sub`
    
    typo it seems
    matthiaskrgr authored Mar 6, 2023
    Configuration menu
    Copy the full SHA
    6240b54 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#108780 - Zeegomo:close-70919, r=WaffleLapkin

    Add regression tests for issue 70919
    
    Desugaring DropAndReplace at MIR build (rust-lang#107844) fixed rust-lang#70919.
    Add regressions tests, borrowed from rust-lang#102078, to ensure we check for this in the future.
    
    cc ``@Aaron1011``
    matthiaskrgr authored Mar 6, 2023
    Configuration menu
    Copy the full SHA
    1866ea1 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#108786 - saethlin:free-regions-check, r=oli…

    …-obk
    
    Check for free regions in MIR validation
    
    This turns rust-lang#108720 into a MIR validation failure that will reproduce without debug-assertions enabled.
    
    ```
    error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:296 ~ futures_util[3805]::future::future::remote_handle::{impl#3}::poll), const_param_did: None }) (after pass ScalarReplacementOfAggregates) at bb0[0]:
                                    Free regions in optimized runtime-post-cleanup MIR
      --> /home/ben/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/futures-util-0.3.26/src/future/future/remote_handle.rs:96:13
       |
    96 |         let this = self.project();
       |             ^^^^
    ```
    matthiaskrgr authored Mar 6, 2023
    Configuration menu
    Copy the full SHA
    4bd6f7f View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#108790 - cjgillot:mono-cast, r=oli-obk

    Do not ICE when interpreting a cast between non-monomorphic types
    
    Fixes rust-lang#101596
    matthiaskrgr authored Mar 6, 2023
    Configuration menu
    Copy the full SHA
    3ae047b View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#108803 - cjgillot:const-prop-normalize, r=o…

    …li-obk
    
    Do not ICE when failing to normalize in ConstProp.
    
    There is no reason to delay a bug there, as we bubble up the failure as TooGeneric.
    
    Fixes rust-lang#97728
    matthiaskrgr authored Mar 6, 2023
    Configuration menu
    Copy the full SHA
    ab7dd09 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#108807 - MU001999:lint/suspicious_auto_trai…

    …t_impls, r=lcnr
    
    Emit the suspicious_auto_trait_impls for negative impls as well
    
    Fixes rust-lang#108804
    matthiaskrgr authored Mar 6, 2023
    Configuration menu
    Copy the full SHA
    3279f7e View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#108812 - albertlarsan68:test-98444, r=Nilst…

    …rieb
    
    Add regression test for rust-lang#98444
    
    cc rust-lang#108730 this will need to be changed to a `check-fail` test once it lands.
    
    Fixes rust-lang#98444
    matthiaskrgr authored Mar 6, 2023
    Configuration menu
    Copy the full SHA
    567cab9 View commit details
    Browse the repository at this point in the history