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

Merged
merged 15 commits into from
Oct 14, 2023
Merged

Rollup of 6 pull requests #116737

merged 15 commits into from
Oct 14, 2023

Commits on Sep 18, 2023

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

Commits on Oct 10, 2023

  1. Configuration menu
    Copy the full SHA
    58d62fc View commit details
    Browse the repository at this point in the history
  2. sort/reorganize dependencies in bootstrap/Cargo.toml

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    361c164 View commit details
    Browse the repository at this point in the history
  3. move features above to appear before others sections

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    acaec5c View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2023

  1. Configuration menu
    Copy the full SHA
    b3c95c5 View commit details
    Browse the repository at this point in the history
  2. Propagate pattern errors via a new PatKind::Error variant

    Instead of via `Const::new_error`
    Nadrieril committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    aab3b93 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8646afb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    89f75ff View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3a0799d View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#115439 - fmease:rustdoc-priv-repr-transpare…

    …nt-heuristic, r=GuillaumeGomez
    
    rustdoc: hide `#[repr(transparent)]` if it isn't part of the public ABI
    
    Fixes rust-lang#90435.
    
    This hides `#[repr(transparent)]` when the non-1-ZST field the struct is "transparent" over is private.
    
    CC `@RalfJung`
    
    Tentatively nominating it for the release notes, feel free to remove the nomination.
    `@rustbot` label needs-fcp relnotes A-rustdoc-ui
    matthiaskrgr committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    4dd4d9b View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#116591 - Zalathar:flaky-hash, r=Mark-Simula…

    …crum
    
    Don't accidentally detect the commit hash as an `fadd` instruction
    
    I've seen some reports of `tests/codegen/target-feature-inline-closure.rs` spuriously failing because it thinks the hash in the rustc version number contains an `fadd` instruction.
    
    rust-lang#116085 (comment)
    https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Is.20.60tests.2Fcodegen.2Ftarget-feature-inline-closure.2Ers.60.20flakey
    https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Strange.20.5Cn.20in.20output.20of.20assert.20.23108341/near/395811335
    
    This PR tries to make that not happen by adding a `CHECK-LABEL` directive that will match the line with the rustc version string, preventing the previous `CHECK-NOT` from seeing it.
    matthiaskrgr committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    a8cda30 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#116603 - onur-ozkan:reorganize-cargo-file, …

    …r=Mark-Simulacrum
    
    Reorganize `bootstrap/Cargo.toml`
    
    The information here
    https://github.com/rust-lang/rust/blob/5b88d659f8c2428536589d4bd36b9099d53a6815/src/bootstrap/Cargo.toml#L55-L59
    was wrong. This PR fixes that and sorts the dependencies in ascending order.
    
    Additionally, I moved the 'features' section above up to make it appear easier.
    matthiaskrgr committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    3a5c245 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#116715 - Nadrieril:patkind-error, r=oli-obk

    Prevent more spurious unreachable pattern lints
    
    Continues the work of rust-lang#115937 by introducing `PatKind::Error`, to be used instead of `PatKind::Wild` when an error was raised during pattern lowering. Most of match checking lints are skipped when a `PatKind::Error` is encountered. This avoids confusing extra warnings when a pattern is malformed. Now `PatKind::Wild` should indicate an actual wildcard pattern.
    
    r? `@oli-obk`
    matthiaskrgr committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    7d1b24f View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#116723 - ivmarkov:master, r=dtolnay

    Fix broken build on ESP-IDF caused by rust-lang#115108
    
    `@ijackson` rust-lang#115108 broke the build for ESP-IDF. I'm still checking whether this PR fixes everything - once I'm ready will remove the "Draft" status.
    
    `@dtolnay` FYI
    matthiaskrgr committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    456139f View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#116730 - compiler-errors:unsoundness-tests-…

    …rpit, r=aliemjay
    
    Add some unsoundness tests for opaques capturing hidden regions not in substs
    
    Commit tests from rust-lang#116040 (comment) and rust-lang#59402 (comment) so that we make sure not to regress them the next time that we relax the opaque capture rules :^)
    matthiaskrgr committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    77b578f View commit details
    Browse the repository at this point in the history