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 7 pull requests #117172

Merged
merged 14 commits into from
Oct 25, 2023
Merged

Rollup of 7 pull requests #117172

merged 14 commits into from
Oct 25, 2023

Commits on Oct 16, 2023

  1. Add test for 113326

    clubby789 committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    43a08bd View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. Configuration menu
    Copy the full SHA
    a947654 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    18b7d9e View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. Update cargo

    weihanglo committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    fd7bbc2 View commit details
    Browse the repository at this point in the history
  2. Make THIR unused_unsafe lint consistent with MIR

    Updates THIR behavior to match the changes from rust-lang#93678
    matthewjasper committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    dc3d428 View commit details
    Browse the repository at this point in the history
  3. Fix problematic comment

    Signed-off-by: cui fliter <imcusg@gmail.com>
    cuishuang committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    11debd7 View commit details
    Browse the repository at this point in the history
  4. Fix some coroutine sentences that don't make sense anymore.

    These happened during the `generator` -> `coroutine` rename.
    oli-obk committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    1be0033 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#116801 - clubby789:issue-113326-test, r=com…

    …piler-errors
    
    Add test for 113326
    
    Closes rust-lang#113326
    Bisecting points to rust-lang#113636 as the fix
    matthiaskrgr authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    75efc4f View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#117133 - compiler-errors:coherence-constrai…

    …ned, r=oli-obk
    
    Merge `impl_wf_inference` (`check_mod_impl_wf`) check into coherence checking
    
    Problem here is that we call `collect_impl_trait_in_trait_types` when checking `check_mod_impl_wf` which is performed before coherence. Due to the `tcx.sess.track_errors`, since we end up reporting an error, we never actually proceed to coherence checking, where we would be emitting a more useful impl overlap error.
    
    This change means that we may report more errors in some cases, but can at least proceed far enough to leave a useful message for overlapping traits with RPITITs in them.
    
    Fixes rust-lang#116982
    
    r? types
    matthiaskrgr authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    96074be View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#117136 - compiler-errors:defid-list, r=oli-obk

    Intern `LocalDefId` list from `opaque_types_defined_by` query
    
    r? oli-obk
    matthiaskrgr authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    acc68e9 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#117150 - weihanglo:update-cargo, r=weihanglo

    Update cargo
    
    2 commits in d2f6a048529eb8e9ebc55d793abd63456c98fac2..df3509237935f9418351b77803df7bc05c009b3d
    2023-10-20 18:25:30 +0000 to 2023-10-24 23:09:01 +0000
    - Fix unused_imports warning (rust-lang/cargo#12876)
    - Warn about crate name's format when creating new crate (rust-lang/cargo#12766)
    
    r? ghost
    matthiaskrgr authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    136f9db View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#117158 - matthewjasper:thir-unused-unsafe, …

    …r=oli-obk
    
    Update THIR unused_unsafe lint
    
    Updates THIR unsafeck behaviour to match the changes from rust-lang#93678
    matthiaskrgr authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    105efbb View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#117160 - cuishuang:master, r=lqd

    Fix typo in test comment
    matthiaskrgr authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    dffed66 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#117168 - oli-obk:coroutine_cleanups, r=John…

    …Titor
    
    Fix some coroutine sentences that don't make sense anymore.
    
    These happened during the `generator` -> `coroutine` rename.
    
    Found thanks to `@pthariensflame` for their thorough review of the `generator` -> `coroutine` rename rust-lang#116958 (comment)
    matthiaskrgr authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    a7d05a6 View commit details
    Browse the repository at this point in the history