-
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 6 pull requests #95830
Rollup of 6 pull requests #95830
Commits on Mar 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e132077 - Browse repository at this point
Copy the full SHA e132077View commit details
Commits on Apr 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 39bff4b - Browse repository at this point
Copy the full SHA 39bff4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa3c141 - Browse repository at this point
Copy the full SHA aa3c141View commit details
Commits on Apr 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 43d0497 - Browse repository at this point
Copy the full SHA 43d0497View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e8bd9b - Browse repository at this point
Copy the full SHA 5e8bd9bView commit details -
WIP PROOF-OF-CONCEPT: Make the compiler complain about all int<->ptr …
…casts. ALL OF THEM
Configuration menu - View commit details
-
Copy full SHA for 1040cab - Browse repository at this point
Copy the full SHA 1040cabView commit details -
Split
fuzzy_provenance_casts
into lossy and fuzzy, feature gate and…… test it * split `fuzzy_provenance_casts` into a ptr2int and a int2ptr lint * feature gate both lints * update documentation to be more realistic short term * add tests for these lints
Configuration menu - View commit details
-
Copy full SHA for 98a4834 - Browse repository at this point
Copy the full SHA 98a4834View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6c7f10 - Browse repository at this point
Copy the full SHA f6c7f10View commit details
Commits on Apr 9, 2022
-
Rollup merge of rust-lang#95374 - RalfJung:assert_uninit_valid, r=Mar…
…k-Simulacrum assert_uninit_valid: ensure we detect at least arrays of uninhabited types We can't easily extend this check to *all* arrays (Cc rust-lang#87041), but it turns out the existing check already catches arrays of uninhabited types. So let's make sure it stays that way by adding them to the test.
Configuration menu - View commit details
-
Copy full SHA for bdcefe9 - Browse repository at this point
Copy the full SHA bdcefe9View commit details -
Rollup merge of rust-lang#95599 - niluxv:strict-provenance-lint, r=mi…
…chaelwoerister Strict provenance lints See rust-lang#95488. This PR introduces two unstable (allow by default) lints to which lint on int2ptr and ptr2int casts, as the former is not possible in the strict provenance model and the latter can be written nicer using the `.addr()` API. Based on an initial version of the lint by ``@Gankra`` in rust-lang#95199.
Configuration menu - View commit details
-
Copy full SHA for f54d1e1 - Browse repository at this point
Copy the full SHA f54d1e1View commit details -
Rollup merge of rust-lang#95751 - compiler-errors:ambig-int, r=jackh726
Don't report numeric inference ambiguity when we have previous errors Fixes rust-lang#95648
Configuration menu - View commit details
-
Copy full SHA for a999fce - Browse repository at this point
Copy the full SHA a999fceView commit details -
Rollup merge of rust-lang#95787 - yaahc:panic-doc-update-v2, r=dtolnay
reword panic vs result section to remove recoverable vs unrecoverable framing Based on feedback from the Error Handling FAQ: rust-lang/project-error-handling#50 (comment) r? ```@dtolnay```
Configuration menu - View commit details
-
Copy full SHA for 192372e - Browse repository at this point
Copy the full SHA 192372eView commit details -
Rollup merge of rust-lang#95804 - GuillaumeGomez:empty-doc-comment-wi…
…th-backline, r=notriddle rustdoc: Fix empty doc comment with backline ICE Fixes rust-lang#95800. r? ``@notriddle``
Configuration menu - View commit details
-
Copy full SHA for 1769808 - Browse repository at this point
Copy the full SHA 1769808View commit details -
Rollup merge of rust-lang#95813 - Urgau:rustdoc-where-clause-space, r…
…=GuillaumeGomez Remove extra space before a where clause Remove extra space before where clause in the generated documentation. The fix is to move the space before the break-line so that it doesn't appear visually but is still here. Removing it completely would create things like this `impl<D> Delta<D>where D: MyTrait` (missing a space before the where) which I don't think we want. Added two regression test, first one test that the `<br>` is after the space and the second check that the `<br>` is before the spaces. Before: ![image](https://user-images.githubusercontent.com/3616612/162475212-d4bb6727-ed66-4a55-a4a2-4f55189bf8bd.png) After: ![image](https://user-images.githubusercontent.com/3616612/162475467-508fd082-60a7-4a8c-b693-8b188e8843e6.png) r? ``@GuillaumeGomez``
Configuration menu - View commit details
-
Copy full SHA for 70a7a1c - Browse repository at this point
Copy the full SHA 70a7a1cView commit details