-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Rollup of 11 pull requests #50546
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Rollup of 11 pull requests #50546
Conversation
`allocator` is deprecated in favor of `alloc`, and `Alloc` is already imported through `super::*`.
Hopefully brining in a few fixes to Cargo regressions as well as some new stdsimd functions!
Some changes occurred in HTML/CSS. |
(rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ p=12 |
📌 Commit 6a219ed has been approved by |
In the common case, the string value in a string literal Token is the same as the string value in a string literal LitKind. (The exception is when escapes or \r are involved.) This patch takes advantage of that to avoid calling str_lit() and re-interning the string in that case. This speeds up incremental builds for a few of the rustc-benchmarks, the best by 3%.
⌛ Testing commit 6a219ed67f2a224537e1b4c1a7255bc00391eb91 with merge 7778ecaf985262b9bdbb325e2df7725e382a7f5c... |
💔 Test failed - status-appveyor |
@bors r+ bc503a0edd8a1b58f29089f5e9a181e25509cd00 |
@bors r+ |
📌 Commit 0fd48d0 has been approved by |
⌛ Testing commit 0fd48d027dbf250695ff2825042524e83fe1d3cc with merge 74594a505e26f64012f0731ad39aa38f59fabb4a... |
💔 Test failed - status-appveyor |
Make `String::new()` const Following the steps of rust-lang#50233 , make `String::new()` a `const fn`.
Remove some transmutes
Added regression function match value test closes rust-lang#44333
…avus Add some explanations for #[must_use] `#[must_use]` can be given a string argument which is shown whilst warning for things. We should add a string argument to most of the user-exposed ones. I added these for everything but the operators, mostly because I'm not sure what to write there or if we need anything there.
Cleanup a `use` in a raw_vec test `allocator` is deprecated in favor of `alloc`, and `Alloc` is already imported through `super::*`.
Update RELEASES.md for 1.26.0 [Rendered](https://github.com/Aaronepower/rust/blob/master/RELEASES.md)
📌 Commit 99cd9a9 has been approved by |
Rollup of 11 pull requests Successful merges: - #49988 (Mention Result<!, E> in never docs.) - #50148 (turn `ManuallyDrop::new` into a constant function) - #50456 (Update the Cargo submodule) - #50460 (Make `String::new()` const) - #50464 (Remove some transmutes) - #50505 (Added regression function match value test) - #50511 (Add some explanations for #[must_use]) - #50525 (Optimize string handling in lit_token().) - #50527 (Cleanup a `use` in a raw_vec test) - #50539 (Add more logarithm constants) - #49523 (Update RELEASES.md for 1.26.0) Failed merges:
☀️ Test successful - status-appveyor, status-travis |
Successful merges:
ManuallyDrop::new
into a constant function #50148 (turnManuallyDrop::new
into a constant function)String::new()
const #50460 (MakeString::new()
const)use
in a raw_vec test #50527 (Cleanup ause
in a raw_vec test)Failed merges: