-
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 7 pull requests #67284
Rollup of 7 pull requests #67284
Commits on Dec 4, 2019
-
Clarify handling of
exhaustive_patterns
inall_constructors
This is logically equivalent to the previous code.
Configuration menu - View commit details
-
Copy full SHA for 86fb2ef - Browse repository at this point
Copy the full SHA 86fb2efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 063d74f - Browse repository at this point
Copy the full SHA 063d74fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 922310d - Browse repository at this point
Copy the full SHA 922310dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b26aa0b - Browse repository at this point
Copy the full SHA b26aa0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bd97ae - Browse repository at this point
Copy the full SHA 1bd97aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c77a04 - Browse repository at this point
Copy the full SHA 1c77a04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5628d4a - Browse repository at this point
Copy the full SHA 5628d4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2099dd1 - Browse repository at this point
Copy the full SHA 2099dd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0f3c06 - Browse repository at this point
Copy the full SHA c0f3c06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a3b7d2 - Browse repository at this point
Copy the full SHA 5a3b7d2View commit details -
List missing constructors in an almost empty match
Actually empty matches are still handled by a different code path
Configuration menu - View commit details
-
Copy full SHA for e444346 - Browse repository at this point
Copy the full SHA e444346View commit details -
Use the default code path to list missing patterns
This uses the exact same code path that would be used for `match x { _ if false => {} }`, since in both cases the resulting matrix is empty. Since we think the behaviour in that case is ok, then we can remove the special case and use the default code path.
Configuration menu - View commit details
-
Copy full SHA for 2216318 - Browse repository at this point
Copy the full SHA 2216318View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3532835 - Browse repository at this point
Copy the full SHA 3532835View commit details -
Configuration menu - View commit details
-
Copy full SHA for d289f55 - Browse repository at this point
Copy the full SHA d289f55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40f434b - Browse repository at this point
Copy the full SHA 40f434bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e6dc2b - Browse repository at this point
Copy the full SHA 3e6dc2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bfb556f - Browse repository at this point
Copy the full SHA bfb556fView commit details -
Only special-case empty matches when
exhaustive_patterns
is offWhen the feature is on, the special casing is not needed. That way when we stabilize the feature this `if` can just be removed.
Configuration menu - View commit details
-
Copy full SHA for a591ede - Browse repository at this point
Copy the full SHA a591edeView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe5d84d - Browse repository at this point
Copy the full SHA fe5d84dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d44774d - Browse repository at this point
Copy the full SHA d44774dView commit details
Commits on Dec 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for fbd2cd0 - Browse repository at this point
Copy the full SHA fbd2cd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 189ccf2 - Browse repository at this point
Copy the full SHA 189ccf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82c09b7 - Browse repository at this point
Copy the full SHA 82c09b7View commit details
Commits on Dec 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b2392aa - Browse repository at this point
Copy the full SHA b2392aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ddc027 - Browse repository at this point
Copy the full SHA 3ddc027View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14b2436 - Browse repository at this point
Copy the full SHA 14b2436View commit details
Commits on Dec 13, 2019
-
be explicit that mem::uninitialized is the same as MaybeUninit::unini…
…t().assume_init()
Configuration menu - View commit details
-
Copy full SHA for 216b9ae - Browse repository at this point
Copy the full SHA 216b9aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f97c37f - Browse repository at this point
Copy the full SHA f97c37fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9abde64 - Browse repository at this point
Copy the full SHA 9abde64View commit details -
Rollup merge of rust-lang#67026 - Nadrieril:improve-usefulness-empty,…
… r=varkor,Centril,estebank Improve diagnostics and code for exhaustiveness of empty matches There was a completely separate check and diagnostics for the case of an empty match. This led to slightly different error messages and duplicated code. This improves code reuse and generally clarifies what happens for empty matches. This also clarifies the action of the `exhaustive_patterns` feature, and ensures that this feature doesn't change diagnostics in places it doesn't need to.
Configuration menu - View commit details
-
Copy full SHA for df9e491 - Browse repository at this point
Copy the full SHA df9e491View commit details -
Rollup merge of rust-lang#67235 - jonas-schievink:vecdeque-leak, r=Ko…
…drAus VecDeque: drop remaining items on destructor panic Closes rust-lang#67232
Configuration menu - View commit details
-
Copy full SHA for 48164f8 - Browse repository at this point
Copy the full SHA 48164f8View commit details -
Rollup merge of rust-lang#67254 - RalfJung:vtable-ice, r=oli-obk
dont ICE in case of invalid drop fn Fixes rust-lang/miri#1112 r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for a0be3a6 - Browse repository at this point
Copy the full SHA a0be3a6View commit details -
Rollup merge of rust-lang#67256 - RalfJung:reduce-allocs, r=oli-obk
Reduce allocs for validation errors This probably doesn't really matter, but I just felt like I had to do this... r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 88e702a - Browse repository at this point
Copy the full SHA 88e702aView commit details -
Rollup merge of rust-lang#67274 - RalfJung:uninit, r=Centril
be explicit that mem::uninitialized is the same as MaybeUninit::uninit().assume_init() Cc @Centril @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 83536a5 - Browse repository at this point
Copy the full SHA 83536a5View commit details -
Rollup merge of rust-lang#67278 - Centril:67273, r=oli-obk
`coerce_inner`: use initial `expected_ty` Fixes rust-lang#67273. Follow-up to rust-lang#59439. r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 0f30462 - Browse repository at this point
Copy the full SHA 0f30462View commit details -
Rollup merge of rust-lang#67280 - shalzz:patch-1, r=jonas-schievink
docs: std::convert::From: Fix typo Fix a minor typo
Configuration menu - View commit details
-
Copy full SHA for d0cc289 - Browse repository at this point
Copy the full SHA d0cc289View commit details