-
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 15 pull requests #48520
Rollup of 15 pull requests #48520
Conversation
We need two-phase borrows of ops to be in the initial NLL release since without them lots of existing code will break. Fixes rust-lang#48129
This updates the book repository, but mostly to include rust-lang/book#1180 TL;DR: the second edition is close enough to done that we should universally recommend it over the first edition.
This reverts commit c6772b4.
This adds an `UnpackedKind` type as a typesafe counterpart to `Kind`. This should make future changes to kinds (such as const generics!) more resilient, as the type-checker should catch more potential issues.
Fix borrow checker unsoundness with unions Fixes rust-lang#45157. After discussion with @nikomatsakis on Gitter, this PR only adds a test since the original issue was resolved elsewhere. r? @nikomatsakis
…richton Stabilize Box::leak Stabilizes the following: + `Box::leak` (`box_leak`, in nightly since 2017-11-23) cc rust-lang#46179 r? @rust-lang/libs
@bors r+ p=1000 |
📌 Commit 7ba4afc has been approved by |
⌛ Testing commit 7ba4afc with merge fe7075b26eee6f395b2a80efacb46c43aeda3bb2... |
💔 Test failed - status-travis |
@bors r+ |
@bors r+ retry |
📌 Commit 52047f0 has been approved by |
☀️ Test successful - status-appveyor, status-travis |
Tested on commit rust-lang/rust@026339e. 💔 clippy-driver on windows: test-pass → build-fail (cc @Manishearth @llogiq @mcarton @oli-obk). 💔 clippy-driver on linux: test-pass → build-fail (cc @Manishearth @llogiq @mcarton @oli-obk).
Hello people from future, please refer to #48481 for the actual |
&str + String
#48392, Update the book to promote second edition #48404, rustdoc: don't crash when an external trait's docs needs to import another trait #48415, Fix parsing of extern paths in types and poly-traits #48441, reset default binding mode when we pass through a&
pattern #48448, Introduce UnpackedKind #48452, Allow parentheses indyn (Trait)
#48481, Implement multiple patterns with|
inif let
andwhile let
(RFC 2175) #48490, Fix capitalisation in Path#file_name's docs #48499, Remove directorysrc/rt
#48503