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 5 pull requests #116885

Merged
merged 10 commits into from
Oct 18, 2023
Merged

Rollup of 5 pull requests #116885

merged 10 commits into from
Oct 18, 2023

Commits on Oct 17, 2023

  1. disable missing_copy_implementations lint on non_exhaustive types

    use is_variant_list_non_exhaustive/is_field_list_non_exhaustive
    
    remove unused tcx
    
    inline non_exhaustive def/variant check
    rmehri01 committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    a8e7e79 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bcdd3d7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dee86bf View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. Configuration menu
    Copy the full SHA
    9917ef9 View commit details
    Browse the repository at this point in the history
  2. revert rust-lang#114586

    aliemjay committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    a1e274f View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#116812 - rmehri01:missing_copy_implementati…

    …ons_non_exhaustive, r=petrochenkov
    
    Disable missing_copy_implementations lint on non_exhaustive types
    
    Fixes rust-lang#116766
    aliemjay committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    0653d7e View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#116856 - oli-obk:no_effects, r=compiler-errors

    Disable effects in libcore again
    
    r? `@fee1-dead`
    
    This was accidentally allowed by rust-lang#114776 without feature gates
    aliemjay committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    a536d58 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#116865 - estebank:issue-46969, r=compiler-e…

    …rrors
    
    Suggest constraining assoc types in more cases
    
    Fix rust-lang#46969.
    
    ```
    error[E0308]: mismatched types
      --> $DIR/suggest-contraining-assoc-type-because-of-assoc-const.rs:12:21
       |
    LL |     const N: C::M = 4u8;
       |                     ^^^ expected associated type, found `u8`
       |
       = note: expected associated type `<C as O>::M`
                             found type `u8`
    help: consider constraining the associated type `<C as O>::M` to `u8`
       |
    LL | impl<C: O<M = u8>> U<C> for u16 {
       |          ++++++++
    
    ```
    aliemjay committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    d69cdb2 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#116870 - compiler-errors:host-param-by-name…

    …, r=fee1-dead
    
    Don't compare host param by name
    
    Seems sketchy to be searching for `sym::host` by name, especially when we can get the actual index with not very much work.
    
    r? fee1-dead
    aliemjay committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    42e5f41 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#116879 - aliemjay:revert-opaque-bubble, r=o…

    …li-obk
    
    revert rust-lang#114586
    
    Reverts rust-lang#114586.
    
    cc rust-lang#116877 (not closing until this gets a beta backport)
    fixes rust-lang#116684
    fixes rust-lang#114586 (comment)
    
    r? `@oli-obk` or `@lcnr`
    aliemjay committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    8489bce View commit details
    Browse the repository at this point in the history