-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Rollup of 9 pull requests #100740
Commits on Aug 2, 2022
-
never consider unsafe blocks unused if they would be required with un…
…safe_op_in_unsafe_fn
Configuration menu - View commit details
-
Copy full SHA for ee3fc9d - Browse repository at this point
Copy the full SHA ee3fc9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e44ca9 - Browse repository at this point
Copy the full SHA 3e44ca9View commit details -
Co-authored-by: Léo Lanteri Thauvin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 35a35d8 - Browse repository at this point
Copy the full SHA 35a35d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86e2ca3 - Browse repository at this point
Copy the full SHA 86e2ca3View commit details
Commits on Aug 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3c8563a - Browse repository at this point
Copy the full SHA 3c8563aView commit details
Commits on Aug 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4a5c46f - Browse repository at this point
Copy the full SHA 4a5c46fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 611221d - Browse repository at this point
Copy the full SHA 611221dView commit details
Commits on Aug 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for fd934c9 - Browse repository at this point
Copy the full SHA fd934c9View commit details
Commits on Aug 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7b45718 - Browse repository at this point
Copy the full SHA 7b45718View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86645c9 - Browse repository at this point
Copy the full SHA 86645c9View commit details
Commits on Aug 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2d968a1 - Browse repository at this point
Copy the full SHA 2d968a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9898793 - Browse repository at this point
Copy the full SHA 9898793View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09396fc - Browse repository at this point
Copy the full SHA 09396fcView commit details -
ADD - diagnostic lints to type_ir
Module is completed because it doesn’t have any diagnostics
Configuration menu - View commit details
-
Copy full SHA for 05ed13b - Browse repository at this point
Copy the full SHA 05ed13bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 748c606 - Browse repository at this point
Copy the full SHA 748c606View commit details
Commits on Aug 19, 2022
-
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
Configuration menu - View commit details
-
Copy full SHA for 0788442 - Browse repository at this point
Copy the full SHA 0788442View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 2fe2975 - Browse repository at this point
Copy the full SHA 2fe2975View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for c4707ff - Browse repository at this point
Copy the full SHA c4707ffView commit details -
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`
Configuration menu - View commit details
-
Copy full SHA for 3cebcba - Browse repository at this point
Copy the full SHA 3cebcbaView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for d83abe8 - Browse repository at this point
Copy the full SHA d83abe8View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 769ad70 - Browse repository at this point
Copy the full SHA 769ad70View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 490d04b - Browse repository at this point
Copy the full SHA 490d04bView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 30e65ce - Browse repository at this point
Copy the full SHA 30e65ceView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for ecd2885 - Browse repository at this point
Copy the full SHA ecd2885View commit details