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 11 pull requests #122337

Closed
wants to merge 31 commits into from

Commits on Feb 15, 2024

  1. Configuration menu
    Copy the full SHA
    9a77ec9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f368922 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2024

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

Commits on Feb 21, 2024

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

Commits on Feb 27, 2024

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

Commits on Mar 2, 2024

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

Commits on Mar 6, 2024

  1. Configuration menu
    Copy the full SHA
    30fa6a8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3bd8df9 View commit details
    Browse the repository at this point in the history
  3. Rename DropTree::add_entry to add_entry_point

    This clarifies that we're adding an "entry point", not just adding an "entry"
    of some kind.
    Zalathar committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    fbdac30 View commit details
    Browse the repository at this point in the history
  4. Replace tuples in DropTree with named structs

    This allows us to use real field names instead of tuple element numbers.
    
    Renaming `previous_drops` to `existing_drops_map` clarifies that "previous" was
    unrelated to drop order.
    Zalathar committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    5ba70bd View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

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

Commits on Mar 9, 2024

  1. Configuration menu
    Copy the full SHA
    bf47df8 View commit details
    Browse the repository at this point in the history
  2. 1 Configuration menu
    Copy the full SHA
    58f6aaa View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. Configuration menu
    Copy the full SHA
    3830510 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    73fc170 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    01e6b43 View commit details
    Browse the repository at this point in the history
  4. unix_sigpipe: Replace inherit with sig_dfl in syntax tests

    The `sig_dfl` variant of the attribute is the most likely variant to be
    stabilized first, and thus to become the "most allowed" variant of the
    attribute. Because of this, it is the most appropriate variant to use in
    syntax tests, because even if the most allowed variant is used, the
    compiler shall still emit errors if it e.g. is used in the wrong places.
    Enselic committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    aea60b0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    816dc96 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    279465b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fb802f2 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#116791 - WaffleLapkin:unparallel-backends, …

    …r=oli-obk
    
    Allow codegen backends to opt-out of parallel codegen
    
    This makes it a bit easier to write cursed codegen backends.
    matthiaskrgr authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    8f33766 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#119385 - fmease:assoc-const-eq-fixes-2, r=o…

    …li-obk,cjgillot
    
    Fix type resolution of associated const equality bounds (take 2)
    
    Instead of trying to re-resolve the type of assoc const bindings inside the `type_of` query impl in an incomplete manner, transfer the already (correctly) resolved type from `add_predicates_for_ast_type_binding` to `type_of`/`anon_type_of` through query feeding.
    
    ---
    
    Together with rust-lang#118668 (merged) and rust-lang#121258, this supersedes rust-lang#118360.
    Fixes rust-lang#118040.
    
    r? `@ghost`
    matthiaskrgr authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    ccbeb90 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#121893 - RalfJung:const-interior-mut-tests,…

    … r=oli-obk
    
    Add tests (and a bit of cleanup) for interior mut handling in promotion and const-checking
    
    Basically these are the parts of rust-lang#121786 that can be salvaged.
    
    r? `@oli-obk`
    matthiaskrgr authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    f477194 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#122080 - Zalathar:drop-tree, r=oli-obk

    Clarity improvements to `DropTree`
    
    These changes are based on some points of confusion I had when initially trying to understand this code.
    
    The only “functional” change is an additional assertion in `<ExitScopes as DropTreeBuilder>::link_entry_point`, checking that the dummy terminator is `TerminatorKind::UnwindResume` as expected.
    matthiaskrgr authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    627428c View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#122152 - wutchzone:120892, r=fmease

    Improve diagnostics for parenthesized type arguments
    
    Fixes rust-lang#120892
    
    r? fmease
    matthiaskrgr authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    23e4968 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#122166 - beetrees:remove-field-remapping, r…

    …=davidtwco
    
    Remove the unused `field_remapping` field from `TypeLowering`
    
    The `field_remapping` field of `TypeLowering` has  been unused since rust-lang#121665. This PR removes it, then replaces the `TypeLowering` struct with its only remaining member `&'ll Type`.
    matthiaskrgr authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    0623371 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#122249 - RalfJung:machine-read-hook, r=oli-obk

    interpret: do not call machine read hooks during validation
    
    Fixes rust-lang/miri#3347
    
    r? `@oli-obk`
    matthiaskrgr authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    cb48f18 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#122299 - compiler-errors:bt-for-must-diag, …

    …r=nnethercote
    
    Store backtrace for `must_produce_diag`
    
    This makes it significantly easier to debug a `must_produce_diag` ICE, since we have no other way to know where the heck the bug originates from.
    
    Backtrace rendering kinda sucks right now since we're just printing it in the panic message; happy to apply some suggestions to make it prettier or reuse other bug printing machinery, but also don't want to iterate too much on the rendering since this really is just for debug purposes.
    
    r? nnethercote
    matthiaskrgr authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    1961865 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#122318 - compiler-errors:next-solver-tests,…

    … r=lcnr
    
    Revision-related tweaks for next-solver tests
    
    1. Add `ignore-compare-mode-next-solver` to any test that already has explicit `current next` revisions, since the test failures when testing with `--compare-mode=next-solver` will be false positives.
    2. Explicitly add revisions to a handful of tests where we expect behavior to diverge.
    
    r? lcnr
    matthiaskrgr authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    1d4ba52 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#122328 - Enselic:sig_dfl-not-inherit, r=dav…

    …idtwco
    
    unix_sigpipe: Replace `inherit` with `sig_dfl` in syntax tests
    
    The `sig_dfl` variant of the attribute is the most likely variant to be stabilized first, and thus to become the "most allowed" variant of the attribute. Because of this, it is the most appropriate variant to use in syntax tests, because even if the most allowed variant is used, the compiler shall still emit errors if it e.g. is used in the wrong places.
    
    r? `@davidtwco` who already [approved ](rust-lang#120832 (review)) this commit in rust-lang#120832.
    
    It would be nice to land the last preparatory commit of that PR before we begin to [rename ](rust-lang#120832 (comment)) things which will of course create a lot of code conflicts.
    matthiaskrgr authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    4a2a60a View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#122330 - tshepang:patch-1, r=clubby789

    bootstrap readme: fix, improve, update
    matthiaskrgr authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    2099e04 View commit details
    Browse the repository at this point in the history