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 10 pull requests #123098

Merged
merged 21 commits into from
Mar 26, 2024
Merged

Rollup of 10 pull requests #123098

merged 21 commits into from
Mar 26, 2024

Commits on Mar 20, 2024

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

Commits on Mar 24, 2024

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

Commits on Mar 25, 2024

  1. Use the correct span for simplifying or-patterns

    We have to make sure we set it everywhere that we set `subcandidates`.
    Nadrieril committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    08d7379 View commit details
    Browse the repository at this point in the history
  2. CFI: Pad out associated type resolution with erased lifetimes

    `trait_object_ty` assumed that associated types would be fully
    determined by the trait. This is *almost* true - const parameters and
    type parameters are no longer allowed, but lifetime parameters are.
    Since we erase all lifetime parameters anyways, instantiate it with as
    many erased regions as it needs.
    
    Fixes: rust-lang#123053
    maurer committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    70e1d23 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d1d9aa3 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. Configuration menu
    Copy the full SHA
    d0bf6e6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    22da5e0 View commit details
    Browse the repository at this point in the history
  3. Fix link to BufWriter

    ding-young committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    a241ffc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    17c6101 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3b94f33 View commit details
    Browse the repository at this point in the history
  6. Revert cargo update changes

    clubby789 committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    c2de5af View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#122766 - bvanjoi:fix-115185, r=petrochenkov

    store segment and module in `UnresolvedImportError`
    
    Fixes rust-lang#115185
    
    An easy fix. r? `@Nilstrieb`
    matthiaskrgr committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    03f5c4f View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#122996 - RalfJung:simplify_branches, r=cjgi…

    …llot
    
    simplify_branches: add comment
    
    I am not quite sure why this simplification is done here and not in InstSimplify but 🤷
    
    r? `@cjgillot`
    matthiaskrgr committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    d549d4f View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#123047 - ehuss:triagebot-edition-2024, r=fm…

    …ease
    
    triagebot: Add notification of 2024 issues
    
    This adds a notification for 2024 issues to Zulip.
    matthiaskrgr committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    6ecbc34 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#123066 - maurer:cfi-erased-lifetime-ice, r=…

    …compiler-errors
    
    CFI: (actually) check that methods are object-safe before projecting their receivers to `dyn Trait` in CFI
    
    `trait_object_ty` assumed that associated types would be fully determined by the trait. This is *almost* true - const parameters and type parameters are no longer allowed, but lifetime parameters are. Since we erase all lifetime parameters anyways, instantiate it with as many erased regions as it needs.
    
    Fixes: rust-lang#123053
    
    r? `@compiler-errors`
    matthiaskrgr committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    1fd3ee0 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#123067 - Nadrieril:always-simplify-or, r=ol…

    …i-obk
    
    match lowering: consistently merge simple or-patterns
    
    There are two places where we expand or-patterns in match lowering: the main one is `test_candidates_with_or`, and there's one in `match_candidates` that's an optimization for the simple case where the whole pattern is just one or-pattern.
    
    To reduce duplication, we merge or-pattern alternatives into a single block when possible, but we only to that in `test_candidates_with_or`. This PR fixes this oversight and merges them in `match_candidates` too.
    
    This is a part of splitting up rust-lang#122046 into smaller bits.
    matthiaskrgr committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    94e8c6c View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#123069 - clubby789:un-often-cargo-update, r…

    …=Kobzol
    
    Revert `cargo update` changes and bump `download-artifact` to v4
    
    Revert rust-lang#122489 and rust-lang#122698
    
    rust-lang#122951 (comment)
    The failures + rust-lang/rust-log-analyzer#81 are causing some annoying spam. I don't think this is _that_ important for now and I don't know enough GHA to fix it 😓
    matthiaskrgr committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    17aabac View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#123070 - kpreid:patch-1, r=workingjubilee

    Add my former address to .mailmap
    matthiaskrgr committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    9ea8f23 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#123086 - ding-young:fix-ref-to-BufWriter, r…

    …=the8472
    
    Fix doc link to BufWriter in std::fs::File documentation
    
    It seems that doc link to `BufWriter` in `std::fs::File` doc leads to `BufReader`, not `BufWriter`.
    See https://doc.rust-lang.org/std/fs/struct.File.html
    matthiaskrgr committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    a4bf722 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#123090 - oli-obk:gatify, r=compiler-errors

    Remove `CacheSelector` trait now that we can use GATs
    
    No change in behaviour. Just noticed while digging around in the query infrastructure
    matthiaskrgr committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    e7c983c View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#123091 - Bryanskiy:delegation-fixes, r=petr…

    …ochenkov
    
    Delegation: fix ICE on wrong `self` resolution
    
    fixes rust-lang#122874
    
    Delegation item should be wrapped in a `rib` to behave like a regular function during name resolution.
    
    r? `@petrochenkov`
    matthiaskrgr committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    4d1fb9e View commit details
    Browse the repository at this point in the history