-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 #73168
Rollup of 7 pull requests #73168
Commits on Jun 3, 2020
-
Ensure stack when building MIR for matches
In particular matching on complex types such as strings will cause deep recursion to happen. Fixes rust-lang#72933
Configuration menu - View commit details
-
Copy full SHA for 6b1ee67 - Browse repository at this point
Copy the full SHA 6b1ee67View commit details
Commits on Jun 7, 2020
-
I wasn't aware items _could_ be fake, so I think having a function mentioning it could be helpful. Also, I'd need to make this change for cross-crate intra-doc links anyway, so I figured it's better to make the refactor separate.
Configuration menu - View commit details
-
Copy full SHA for 1f11331 - Browse repository at this point
Copy the full SHA 1f11331View commit details
Commits on Jun 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f615582 - Browse repository at this point
Copy the full SHA f615582View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54fdb57 - Browse repository at this point
Copy the full SHA 54fdb57View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd483c8 - Browse repository at this point
Copy the full SHA fd483c8View commit details -
Fix off-by-one error in
DroplessArena::alloc_raw
.This causes unnecessary calls to `grow` when the allocation would fit exactly in the remaining space.
Configuration menu - View commit details
-
Copy full SHA for 5ceff6b - Browse repository at this point
Copy the full SHA 5ceff6bView commit details -
Remove the
reserve_in_place
calls in{Typed,Dropless}Arena::grow
.They are pointless. No reasonable allocator will be able to satisfy a `reserve_in_place` request that *doubles* the size of an allocation when dealing with allocations that are 4 KiB and larger. Just to be sure, I confirmed on Linux that the `reserve_in_place` calls never succeed. (Note however that the `reserve_in_place` call for `DroplessArena::grow` did occasionally succeed prior to the off-by-one fix in the previous commit, because we would sometimes do a `reserve_in_place` request for the chunk's current size, which would trivially succeed!)
Configuration menu - View commit details
-
Copy full SHA for 7145b87 - Browse repository at this point
Copy the full SHA 7145b87View commit details -
Remove
RawVec::reserve_in_place
.Also remove a now-unnecessary `placement` argument.
Configuration menu - View commit details
-
Copy full SHA for cb8bc8e - Browse repository at this point
Copy the full SHA cb8bc8eView commit details -
Rename some identifiers in
RawVec
andlibarena
.- Use `len` more consistently for the number of elements in a vector, because that's the usual name. - Use `additional` more consistently for the number of elements we want to add, because that's what `Vec::reserve()` uses. - Use `cap` consistently rather than `capacity`. - Plus a few other tweaks. This increases consistency and conciseness.
Configuration menu - View commit details
-
Copy full SHA for c9cbe7e - Browse repository at this point
Copy the full SHA c9cbe7eView commit details
Commits on Jun 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for aef6335 - Browse repository at this point
Copy the full SHA aef6335View commit details -
Rollup merge of rust-lang#72417 - nnethercote:rm-RawVec-reserve_in_pl…
…ace, r=Amanieu Remove `RawVec::reserve_in_place`. And some related clean-ups. r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 0f03fdd - Browse repository at this point
Copy the full SHA 0f03fddView commit details -
Rollup merge of rust-lang#72941 - nagisa:ensure-stack-for-match, r=ol…
…i-obk Ensure stack when building MIR for matches In particular matching on complex types such as strings will cause deep recursion to happen. Fixes rust-lang#72933 r? @matthewjasper @oli-obk
Configuration menu - View commit details
-
Copy full SHA for fc44861 - Browse repository at this point
Copy the full SHA fc44861View commit details -
Rollup merge of rust-lang#73098 - jyn514:rustdoc-is-fake, r=Guillaume…
…Gomez Add Item::is_fake for rustdoc I wasn't aware items _could_ be fake, so I think having a function mentioning it could be helpful. Also, I'd need to make this change for cross-crate intra-doc links anyway, so I figured it's better to make the refactor separate.
Configuration menu - View commit details
-
Copy full SHA for a57e823 - Browse repository at this point
Copy the full SHA a57e823View commit details -
Rollup merge of rust-lang#73123 - GuillaumeGomez:cleanup-e0647, r=Dyl…
…an-DPC Clean up E0647 explanation r? @Dylan-DPC
Configuration menu - View commit details
-
Copy full SHA for 2adefb3 - Browse repository at this point
Copy the full SHA 2adefb3View commit details -
Rollup merge of rust-lang#73148 - DarkEld3r:patch-1, r=jonas-schievink
Fix a typo (size of the size)
Configuration menu - View commit details
-
Copy full SHA for b9b464b - Browse repository at this point
Copy the full SHA b9b464bView commit details -
Rollup merge of rust-lang#73149 - cuviper:awailable, r=steveklabnik
typo: awailable -> available
Configuration menu - View commit details
-
Copy full SHA for c31122e - Browse repository at this point
Copy the full SHA c31122eView commit details -
Rollup merge of rust-lang#73161 - tspiteri:mailmap, r=nikomatsakis
Add mailmap entry
Configuration menu - View commit details
-
Copy full SHA for b044a95 - Browse repository at this point
Copy the full SHA b044a95View commit details