Closed
Conversation
`ptr` of `slice::Iter` and `slice::IterMut` can never be null, but this fact wasn't exploited for layout optimizations. By changing `ptr` from `*<mutability> T` to `NonNull<T>`, the compiler can now optimize layout of `Option<Iter<'a, T>>`.
reuse `capacity` variable in slice::repeat None
Use NonNull in slice::Iter and slice::IterMut. `ptr` of `slice::Iter` and `slice::IterMut` can never be null, but this fact wasn't exploited for layout optimizations. By changing `ptr` from `*<mutability> T` to `NonNull<T>`, the compiler can now optimize layout of `Option<Iter<'a, T>>`. Closes rust-lang#67228
…oli-obk Fix ICE / miscompilation when inlining simd shuffle intrinsic in MIR. Closes rust-lang#67557. r? @oli-obk
…-intrinsics, r=Centril Use issue = "none" instead of "0" in intrinsics `issue = "0"` was incorrectly used in rust-lang@9ee16e1, the project is moving away from issue 0
…r=RalfJung Add Scalar::to_(u|i)16 methods r? @RalfJung
tidy: change msdn links to newer locations see accouncement at https://docs.microsoft.com/welcome-to-docs The script that I used: https://gist.github.com/lzutao/1449c9210ad91899841d62e0058d2caa
…docs, r=Dylan-DPC Remove `compiler_builtins_lib` documentation Fixes rust-lang#67593
Member
Author
|
@bors r+ p=7 rollup=never |
Collaborator
|
📌 Commit 4381953 has been approved by |
Collaborator
|
⌛ Testing commit 4381953 with merge 23b24207d96abd5a664db533e0b558b985ca0e34... |
Contributor
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
Collaborator
|
💔 Test failed - checks-azure |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Successful merges:
capacityvariable in slice::repeat #67576 (reusecapacityvariable in slice::repeat)compiler_builtins_libdocumentation #67617 (Removecompiler_builtins_libdocumentation)Failed merges:
r? @ghost