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 9 pull requests #100740

Merged
merged 24 commits into from
Aug 19, 2022
Merged

Rollup of 9 pull requests #100740

merged 24 commits into from
Aug 19, 2022

Commits on Aug 2, 2022

  1. Configuration menu
    Copy the full SHA
    ee3fc9d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3e44ca9 View commit details
    Browse the repository at this point in the history
  3. update comment

    Co-authored-by: Léo Lanteri Thauvin <[email protected]>
    RalfJung and LeSeulArtichaut authored Aug 2, 2022
    Configuration menu
    Copy the full SHA
    35a35d8 View commit details
    Browse the repository at this point in the history
  4. add link to discussion

    RalfJung authored Aug 2, 2022
    Configuration menu
    Copy the full SHA
    86e2ca3 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2022

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

Commits on Aug 15, 2022

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

Commits on Aug 16, 2022

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

Commits on Aug 17, 2022

  1. pass when where clause found

    ouz-a committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    7b45718 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    86645c9 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2022

  1. Configuration menu
    Copy the full SHA
    2d968a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9898793 View commit details
    Browse the repository at this point in the history
  3. Remove unused CSS rule

    GuillaumeGomez committed Aug 18, 2022
    Configuration menu
    Copy the full SHA
    09396fc View commit details
    Browse the repository at this point in the history
  4. ADD - diagnostic lints to type_ir

    Module is completed because it doesn’t have any diagnostics
    JhonnyBillM committed Aug 18, 2022
    Configuration menu
    Copy the full SHA
    05ed13b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    748c606 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2022

  1. Rollup merge of rust-lang#99576 - compiler-errors:foreign-fundamental…

    …-drop-is-bad, r=TaKO8Ki
    
    Do not allow `Drop` impl on foreign fundamental types
    
    `Drop` should not be implemented on `Pin<T>` even if `T` is local.
    
    This does not trigger regular orphan rules is because `Pin` is `#[fundamental]`... but we don't allow specialized `Drop` impls anyways, so these rules are not sufficient to prevent this impl on stable. Let's just choose even stricter rules, since we shouldn't be implementing `Drop` on a foreign ADT ever.
    
    Fixes rust-lang#99575
    Dylan-DPC authored Aug 19, 2022
    Configuration menu
    Copy the full SHA
    0788442 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#100081 - RalfJung:unused-unsafe-in-unsafe-f…

    …n, r=jackh726
    
    never consider unsafe blocks unused if they would be required with deny(unsafe_op_in_unsafe_fn)
    
    Judging from rust-lang#71668 (comment) the consensus nowadays seems to be that we should never consider an unsafe block unused if it was required with `deny(unsafe_op_in_unsafe_fn)`, no matter whether that lint is actually enabled or not. So let's adjust rustc accordingly.
    
    The first commit does the change, the 2nd does some cleanup.
    Dylan-DPC authored Aug 19, 2022
    Configuration menu
    Copy the full SHA
    2fe2975 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#100208 - RalfJung:dyn-upcast-nop, r=petroch…

    …enkov
    
    make NOP dyn casts not require anything about the vtable
    
    As suggested [on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/144729-t-types/topic/dyn-upcasting.20stabilization/near/292151439). This matches what the codegen backends already do, and what Miri did do until rust-lang#99420 when I made it super extra paranoid.
    Dylan-DPC authored Aug 19, 2022
    Configuration menu
    Copy the full SHA
    c4707ff View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#100494 - GuillaumeGomez:cleanup-themes, r=jsha

    Cleanup rustdoc themes
    
    This PR continues our work to simplify the rustdoc themes by relying more on CSS variables. Interestingly enough, this time it allowed me to realize that we were having a lot of different colors for borders even though the difference is unnoticeable. I used this opportunity to unify them.
    
    The live demo is [here](https://rustdoc.crud.net/imperio/cleanup-themes/std/index.html).
    
    r? `@jsha`
    Dylan-DPC authored Aug 19, 2022
    Configuration menu
    Copy the full SHA
    3cebcba View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#100522 - cjgillot:inline-polymorphic-recurs…

    …ion, r=tmiasko
    
    Only check the `DefId` for the recursion check in MIR inliner.
    
    The current history check compares `Instance`s, so it cannot detect cases of polymorphic recursion where `Substs` change.
    This PR makes it so we only compare `DefId`s, ignoring any change in `Substs`.
    
    According to rust-lang#100522 (comment), in practice only very few inlining decisions change.
    
    Fixes rust-lang#100476
    Dylan-DPC authored Aug 19, 2022
    Configuration menu
    Copy the full SHA
    d83abe8 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#100592 - cjgillot:debug-import-kind, r=TaKO8Ki

    Manually implement Debug for ImportKind.
    
    This avoids crashing due to an infinite loop when running with `RUSTC_LOG=rustc_resolve`.
    Dylan-DPC authored Aug 19, 2022
    Configuration menu
    Copy the full SHA
    769ad70 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#100598 - ouz-a:91633, r=compiler-errors

    Don't fix builtin index when Where clause is found
    
    Where clause shadows blanket impl for `Index` which causes normalization to not occur, which causes ICE to happen when we typeck.
    
    r? `@compiler-errors`
    
    Fixes rust-lang#91633
    Dylan-DPC authored Aug 19, 2022
    Configuration menu
    Copy the full SHA
    490d04b View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#100721 - JhonnyBillM:enable-diag-lint-in-ty…

    …pe-ir, r=compiler-errors
    
    Add diagnostics lints to `rustc_type_ir` module
    
    Module is complete. It doesn’t have any diagnostics.
    Dylan-DPC authored Aug 19, 2022
    Configuration menu
    Copy the full SHA
    30e65ce View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#100731 - notriddle:notriddle/deref-methods-…

    …1, r=jsha
    
    rustdoc: count deref and non-deref as same set of used methods
    
    Fixes rust-lang#100679
    Dylan-DPC authored Aug 19, 2022
    Configuration menu
    Copy the full SHA
    ecd2885 View commit details
    Browse the repository at this point in the history