Uh oh!
There was an error while loading. Please reload this page.
stabilize maybe_uninit_slice - #149102
Conversation
rustbot
commented
Nov 19, 2025
This comment has been minimized.
This comment has been minimized.
6665631 to
124c70eCompare
This comment has been minimized.
This comment has been minimized.
124c70e to
39493cbCompare| // 2. Fills the remaining gap in `v` if the longer run gets consumed first. | ||
| let buf = MaybeUninit::slice_as_mut_ptr(scratch); | ||
| let buf = scratch.as_mut_ptr().cast::<T>(); |
There was a problem hiding this comment.
Probably should be using the cast_init method that was added to replace this instead of a generic cast.
| let v_base = v.as_ptr(); | ||
| let scratch_base = MaybeUninit::slice_as_mut_ptr(scratch); | ||
| let scratch_base = scratch.as_mut_ptr() as *mut T; |
39493cb to
8cdcaa6Compare
This comment has been minimized.
This comment has been minimized.
bors
commented
Nov 27, 2025
☔ The latest upstream changes (presumably #149368) made this pull request unmergeable. Please resolve the merge conflicts. |
8cdcaa6 to
d67f99aComparerustbot
commented
Nov 27, 2025
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
joboet
commented
Nov 30, 2025
Great, thank you. |
bors
commented
Nov 30, 2025
stabilize maybe_uninit_slice Tracking issue: #63569Closes: #63569 FCP completed: #63569 (comment) Removes: ```rs pub const fn slice_as_ptr(this: &[MaybeUninit<T>]) -> *const T; pub const fn slice_as_mut_ptr(this: &mut [MaybeUninit<T>]) -> *mut T; ```
bors
commented
Dec 1, 2025
rust-log-analyzer
commented
Dec 1, 2025
The job Click to see the possible cause of the failure (guessed by this bot) |
bors
commented
Dec 1, 2025
💔 Test failed - checks-actions |
bend-n
commented
Dec 1, 2025
@bors retry |
bors
commented
Dec 1, 2025
@bend-n: 🔑 Insufficient privileges: not in try users |
Noratrieb
commented
Dec 1, 2025
@bors retry |
Rollup of 9 pull requests Successful merges: - #148690 (Implement `clamp_magnitude` method for primitive floats & signed integers) - #149102 (stabilize maybe_uninit_slice) - #149269 (cmse: do not calculate the layout of a type with infer types) - #149299 (Fudge infer vars in the cause code of `Obligation` intentionally) - #149344 (Don't suggest unwrap for Result in const) - #149358 (fix(parse): Limit frontmatter fences to 255 dashes ) - #149445 (make assoc fn inherit const stability from inherent `const impl` blocks) - #149479 (Fix indent in E0591.md) - #149496 (Fix#148889: Add label rib when visiting delegation body) r? `@ghost` `@rustbot` modify labels: rollup
Uh oh!
There was an error while loading. Please reload this page.
Rollup merge of #149102 - bend-n:maybe_uninit_slice, r=joboet stabilize maybe_uninit_slice Tracking issue: #63569Closes: #63569 FCP completed: #63569 (comment) Removes: ```rs pub const fn slice_as_ptr(this: &[MaybeUninit<T>]) -> *const T; pub const fn slice_as_mut_ptr(this: &mut [MaybeUninit<T>]) -> *mut T; ```
Rollup of 9 pull requests Successful merges: - rust-lang/rust#148690 (Implement `clamp_magnitude` method for primitive floats & signed integers) - rust-lang/rust#149102 (stabilize maybe_uninit_slice) - rust-lang/rust#149269 (cmse: do not calculate the layout of a type with infer types) - rust-lang/rust#149299 (Fudge infer vars in the cause code of `Obligation` intentionally) - rust-lang/rust#149344 (Don't suggest unwrap for Result in const) - rust-lang/rust#149358 (fix(parse): Limit frontmatter fences to 255 dashes ) - rust-lang/rust#149445 (make assoc fn inherit const stability from inherent `const impl` blocks) - rust-lang/rust#149479 (Fix indent in E0591.md) - rust-lang/rust#149496 (Fixrust-lang/rust#148889: Add label rib when visiting delegation body) r? `@ghost` `@rustbot` modify labels: rollup
stabilize maybe_uninit_slice Tracking issue: rust-lang#63569Closes: rust-lang#63569 FCP completed: rust-lang#63569 (comment) Removes: ```rs pub const fn slice_as_ptr(this: &[MaybeUninit<T>]) -> *const T; pub const fn slice_as_mut_ptr(this: &mut [MaybeUninit<T>]) -> *mut T; ```
Tracking issue: #63569
Closes: #63569
FCP completed: #63569 (comment)
Removes: