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 5 pull requests #117444

Merged
merged 13 commits into from
Oct 31, 2023
Merged

Rollup of 5 pull requests #117444

merged 13 commits into from
Oct 31, 2023

Commits on Oct 30, 2023

  1. Configuration menu
    Copy the full SHA
    50ca5ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    48491c1 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Configuration menu
    Copy the full SHA
    5b7cc9d View commit details
    Browse the repository at this point in the history
  2. coverage: Promote some debug-only checks to always run

    These checks should be cheap, so there's little reason for them to be
    debug-only.
    Zalathar committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    8ef67d0 View commit details
    Browse the repository at this point in the history
  3. coverage: Replace impossible coverage::Error with assertions

    Historically, these errors existed so that the coverage debug code could dump
    additional information before reporting a compiler bug. That debug code was
    removed by rust-lang#115962, so we can now simplify these methods by making them panic
    when they detect a bug.
    Zalathar committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    6d956a2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7c673db View commit details
    Browse the repository at this point in the history
  5. Simplify all require_simd invocations by moving all of the shared i…

    …nvocation arguments into the macro
    oli-obk committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    9a49ef3 View commit details
    Browse the repository at this point in the history
  6. Merge simd size and type extraction into checking whether a type is s…

    …imd, as these always go together.
    oli-obk committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    f8372df View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#116267 - oli-obk:simd_cleanups, r=petrochenkov

    Some codegen cleanups around SIMD checks
    
    See rust-lang#115933 (comment) for the reason.
    
    This PR essentially just deduplicates code by moving it into a macro
    matthiaskrgr committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    d0833c4 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#116712 - estebank:issue-116252, r=petrochenkov

    When encountering unclosed delimiters during lexing, check for diff markers
    
    Fix rust-lang#116252.
    matthiaskrgr committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    7035c3d View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#117416 - compiler-errors:tait-in-bad-body, …

    …r=oli-obk
    
    Also consider TAIT to be uncomputable if the MIR body is tainted
    
    Not totally sure if this is the best solution. We could, alternatively, look at the hir typeck results and try to take a type from there instead of just falling back to type error, inferring `u8` instead of `{type error}`. Not certain it really matters, though.
    
    Happy to iterate on this.
    
    Fixes rust-lang#117413
    
    r? ``@oli-obk`` cc ``@Nadrieril``
    matthiaskrgr committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    8daa317 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#117421 - Zalathar:error, r=oli-obk,Swatinem

    coverage: Replace impossible `coverage::Error` with assertions
    
    Historically, these errors existed so that the coverage debug code could dump additional information before reporting a compiler bug. That debug code was removed by rust-lang#115962, so we can now simplify these methods by making them panic immediately when they detect a bug.
    matthiaskrgr committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    793776f View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#117438 - cjgillot:deterministic-error, r=ol…

    …i-obk
    
    Do not ICE on constant evaluation failure in GVN.
    
    Fixes rust-lang#117362
    matthiaskrgr committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    f623530 View commit details
    Browse the repository at this point in the history