-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 4 pull requests #65596
Rollup of 4 pull requests #65596
Commits on Oct 15, 2019
-
Use structured suggestion for restricting bounds
When a trait bound is not met and restricting a type parameter would make the restriction hold, use a structured suggestion pointing at an appropriate place (type param in param list or `where` clause). Account for opaque parameters where instead of suggesting extending the `where` clause, we suggest appending the new restriction: `fn foo(impl Trait + UnmetTrait)`.
Configuration menu - View commit details
-
Copy full SHA for 190589f - Browse repository at this point
Copy the full SHA 190589fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b7ffd9 - Browse repository at this point
Copy the full SHA 5b7ffd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbd75c8 - Browse repository at this point
Copy the full SHA dbd75c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99ab45b - Browse repository at this point
Copy the full SHA 99ab45bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca1885d - Browse repository at this point
Copy the full SHA ca1885dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b81df6b - Browse repository at this point
Copy the full SHA b81df6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for daa8491 - Browse repository at this point
Copy the full SHA daa8491View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cc99ee - Browse repository at this point
Copy the full SHA 5cc99eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc744bc - Browse repository at this point
Copy the full SHA bc744bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab7d8f0 - Browse repository at this point
Copy the full SHA ab7d8f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39a9e2e - Browse repository at this point
Copy the full SHA 39a9e2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cabb42 - Browse repository at this point
Copy the full SHA 8cabb42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c525ee - Browse repository at this point
Copy the full SHA 9c525eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ed463a - Browse repository at this point
Copy the full SHA 9ed463aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ecd1d2 - Browse repository at this point
Copy the full SHA 9ecd1d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6dce78 - Browse repository at this point
Copy the full SHA c6dce78View commit details
Commits on Oct 17, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 470e9d2 - Browse repository at this point
Copy the full SHA 470e9d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 868a772 - Browse repository at this point
Copy the full SHA 868a772View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5697432 - Browse repository at this point
Copy the full SHA 5697432View commit details
Commits on Oct 19, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 696cba6 - Browse repository at this point
Copy the full SHA 696cba6View commit details -
Configuration menu - View commit details
-
Copy full SHA for fac34eb - Browse repository at this point
Copy the full SHA fac34ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52a31f7 - Browse repository at this point
Copy the full SHA 52a31f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b38463 - Browse repository at this point
Copy the full SHA 1b38463View commit details -
Rollup merge of rust-lang#65192 - estebank:restrict-bound, r=matthewj…
…asper Use structured suggestion for restricting bounds When a trait bound is not met and restricting a type parameter would make the restriction hold, use a structured suggestion pointing at an appropriate place (type param in param list or `where` clause). Account for opaque parameters where instead of suggesting extending the `where` clause, we suggest appending the new restriction: `fn foo(impl Trait + UnmetTrait)`. Fix rust-lang#64565, fix rust-lang#41817, fix rust-lang#24354, cc rust-lang#26026, cc rust-lang#37808, cc rust-lang#24159, fix rust-lang#37138, fix rust-lang#24354, cc rust-lang#20671.
Configuration menu - View commit details
-
Copy full SHA for ef8ac78 - Browse repository at this point
Copy the full SHA ef8ac78View commit details -
Rollup merge of rust-lang#65226 - ssomers:master, r=bluss
BTreeSet symmetric_difference & union optimized No scalability changes, but: - Grew the cmp_opt function (shared by symmetric_difference & union) into a MergeIter, with less memory overhead than the pairs of Peekable iterators now, speeding up ~20% on my machine (not so clear on Travis though, I actually switched it off there because it wasn't consistent about identical code). Mainly meant to improve readability by sharing code, though it does end up using more lines of code. Extending and reusing the MergeIter in btree_map might be better, but I'm not sure that's possible or desirable. This MergeIter probably pretends to be more generic than it is, yet doesn't declare to be an iterator because there's no need to, it's only there to help construct genuine iterators SymmetricDifference & Union. - Compact the code of rust-lang#64820 by moving if/else into match guards. r? @bluss
Configuration menu - View commit details
-
Copy full SHA for 7c0186a - Browse repository at this point
Copy the full SHA 7c0186aView commit details -
Rollup merge of rust-lang#65505 - RalfJung:rc, r=Centril
Rc: value -> allocation See rust-lang#64484. This does not yet edit `Arc` as I first wanted to be sure we agree on the terminology the way it actually ends up. "value" as a term appears a lot in this file, and sometimes it refers to the value stored inside the `RcBox` while sometimes it refers to the `RcBox` itself. I tried to properly tease these apart but may have made some mistakes. The former should now always be called "inner value" and the latter "allocation". One area where I was very unsure of which terminology is dropping: the `value` field of the `RcBox` will get dropped *earlier* than the `RcBox` itself if there are weak references. I decided that "dropping the value stored in the allocation" refers to dropping the value field, while "destroying the allocation" refers to actually freeing its backing memory. r? @Centril
Configuration menu - View commit details
-
Copy full SHA for df2c324 - Browse repository at this point
Copy the full SHA df2c324View commit details -
Rollup merge of rust-lang#65594 - RalfJung:miri, r=RalfJung
bump miri Fixes rust-lang#65529
Configuration menu - View commit details
-
Copy full SHA for a9d40b4 - Browse repository at this point
Copy the full SHA a9d40b4View commit details