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

Closed
wants to merge 22 commits into from

Commits on Dec 20, 2023

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

Commits on Dec 27, 2023

  1. Configuration menu
    Copy the full SHA
    5f56465 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a251974 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    32cea61 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    977546d View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2023

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

Commits on Jan 4, 2024

  1. Configuration menu
    Copy the full SHA
    1d48f69 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4bc3552 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. Remove hir::Guard

    Use Expr instead. Use `ExprKind::Let` to represent if let guards.
    matthewjasper committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    407cb24 View commit details
    Browse the repository at this point in the history
  2. Remove thir::Guard

    Use Expr instead. Use `ExprKind::Let` to represent if let guards.
    matthewjasper committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    a549711 View commit details
    Browse the repository at this point in the history
  3. Restore if let guard temporary scoping difference

    Match guards with an if let guard or an if let chain guard should have a
    temporary scope of the whole arm. This is to allow ref bindings to
    temporaries to borrow check.
    matthewjasper committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    1a267e3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    44bba54 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6a2bd5a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fdb70da View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#118680 - djkoloski:shell_argfiles, r=compil…

    …er-errors
    
    Add support for shell argfiles
    
    Closes rust-lang/compiler-team#684
    matthiaskrgr authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    a721ccb View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#119151 - Jules-Bertholet:no-foreign-doc-hid…

    …den-suggest, r=davidtwco
    
    Hide foreign `#[doc(hidden)]` paths in import suggestions
    
    Stops the compiler from suggesting to import foreign `#[doc(hidden)]` paths.
    
    ``@rustbot`` label A-suggestion-diagnostics
    matthiaskrgr authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    7a00ce6 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#119350 - fmease:lazy-ty-aliases-implied-bou…

    …nds, r=compiler-errors
    
    Imply outlives-bounds on lazy type aliases
    
    Fixes rust-lang#118479.
    
    r? types
    matthiaskrgr authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    7e58b2f View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#119354 - fmease:negative_bounds-fixes, r=co…

    …mpiler-errors
    
    Make `negative_bounds` internal & fix some of its issues
    
    r? compiler-errors
    matthiaskrgr authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    e0c86de View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#119506 - compiler-errors:visibilities-for-o…

    …bject-safety-error, r=Nilstrieb
    
    Use `resolutions(()).effective_visiblities` to avoid cycle errors in `report_object_error`
    
    Inside of `report_object_error`, using the `effective_visibilities` query causes cycles since it calls `type_of`, which itself may call `typeck`, which may end up reporting its own object-safety errors.
    
    Fixes rust-lang#119346
    Fixes rust-lang#119502
    matthiaskrgr authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    dd6b824 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#119554 - matthewjasper:remove-guard-distinc…

    …tion, r=compiler-errors
    
    Fix scoping for let chains in match guards
    
    If let guards were previously represented as a different type of guard in HIR and THIR. This meant that let chains in match guards were not handled correctly because they were treated exactly like normal guards.
    
    - Remove `hir::Guard` and `thir::Guard`.
    - Make the scoping different between normal guards and if let guards also check for let chains.
    
    closes rust-lang#118593
    matthiaskrgr authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    29a1770 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#119563 - compiler-errors:coroutine-resume, …

    …r=oli-obk
    
    Check yield terminator's resume type in borrowck
    
    In borrowck, we didn't check that the lifetimes of the `TerminatorKind::Yield`'s `resume_place` were actually compatible with the coroutine's signature. That means that the lifetimes were totally going unchecked. Whoops!
    
    This PR implements this checking.
    
    Fixes rust-lang#119564
    
    r? types
    matthiaskrgr authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    ebbe615 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#119589 - petrochenkov:cdatalock, r=Mark-Sim…

    …ulacrum
    
    cstore: Remove unnecessary locking from `CrateMetadata`
    
    Locks and atomics in `CrateMetadata` fields were necessary before rust-lang#107765 when `CStore` was cloneable, but now they are not necessary and can be removed after restructuring the code a bit to please borrow checker.
    
    All remaining locked fields in `CrateMetadata` are lazily populated caches.
    matthiaskrgr authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    b4a7f1e View commit details
    Browse the repository at this point in the history